uv-pack operator: option to rotate uv islands to fit in the optimal rectangle when packing.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60027 954f8c5b-7b00-dc11-b283-0030488c597c
fix double free in ghost c++ gears test program.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60028 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#36697] Topology mirror causes vertices to jump?

don't give up too early finding unique geometry by keeping track of edges with matching vertex hashes and keep checking for unique topology as long as the total of these edges keeps increasing.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60029 954f8c5b-7b00-dc11-b283-0030488c597c
take the decender into account when drawing console text.
also add data types wm and mask to dataname() and unshadow var in ghost/x11


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60030 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#36699] ASCII-character "|" blocks parenting
don't split '|' for rna-property search buttons (but keep for operator search).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60031 954f8c5b-7b00-dc11-b283-0030488c597c
interface, replace '|' with define UI_SEP_CHAR


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60032 954f8c5b-7b00-dc11-b283-0030488c597c
add mathutils.geometry.box_fit_2d() to wrap BLI_convexhull_aabb_fit_points_2d()


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60033 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36698 Cycles MinGW64 Mike Pan scene crashes instantly. Missing pointer check in color management look access from r59945. The look_desc pointer is NULL if the look string is undefined (empty).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60034 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#36020] SmartUV Project is messy on a cube
was using very simple/stupid check to rotate us islands, replace with box_fit_2d() function.

missed docstring last commit.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60035 954f8c5b-7b00-dc11-b283-0030488c597c
Add read-only access to index data for current line, top line and visible lines count.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60036 954f8c5b-7b00-dc11-b283-0030488c597c
replace inline index lookup with BLI_findindex


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60037 954f8c5b-7b00-dc11-b283-0030488c597c
Revert r60034 and proper fix for #36698 by Sergey Sharybin. NULL pointer checks should never be done in color management. Instead this makes sure the look identifier is always initialized correctly to
the default if not defined.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60038 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#36081] ngones causes problems with lightmap packing


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60039 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36701: Mask pivioting doesnt honor parenting

Made mask transformation aware of parent matrix.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60040 954f8c5b-7b00-dc11-b283-0030488c597c
Enable transform helpline in clip editor

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60044 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#36702] blenderapplication window position and size

On Windows the system window will be sized an positioned such that Blender screen area lower left
corner is at the requested location, and with dimension as requested.

Thanks to Alexander N. for reporting and Brecht van Lommel for input.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60046 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36700, z-depth not rendering properly at (n*256)+1 dimensions.
The chunk indices for scheduling chunks based on a given area were calculated incorrectly. This caused chunks at the very border of the render (pixels 256..257) to be omitted, leading to incorrect values
in the Z buffer of the test file, which in turn caused wrong normalization range and the resulting almost-white image.
Also added a dedicated executePixel function for Z buffer to avoid any interpolation of Z values.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60049 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36705: UV pack island crashing after recent change.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60050 954f8c5b-7b00-dc11-b283-0030488c597c
Fix use of uninitialized variable in new Mesh.calc_normals_split.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60051 954f8c5b-7b00-dc11-b283-0030488c597c
fix uninitalized var with new normal calculation function.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60052 954f8c5b-7b00-dc11-b283-0030488c597c