Fix missing cycles viewport update when changing manual texture space
location or size in the properties editor.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58128 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for bug #36009: Rendered ortho view messes up Freestyle lines in 3D viewport.

Clipping start is negative when the viewport preview is used with the orthographic view,
while Freestyle assumes that imported mesh data are in the camera coordinate system
with the view point located at origin.  The present solution is to adjust the clipping
start/end and introduce a Z-axis offset for mesh vertices so as to satisfy the assumption.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58129 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#36073] Changing list items misses undo push


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58130 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36075: editing shading nodes could still crash blender internal rendered
draw mode. This happens because it uses node data structures in threads, now
it does same as preview render, which is to immediately stop the render thread
when e.g. deleting nodes.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58132 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#35948] Toggle-Draw AutoKeyframe Bug


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58134 954f8c5b-7b00-dc11-b283-0030488c597c
draw loopcut display on the deformed mesh when in editmode.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58135 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#35406] Hair puff brush bug
- puff was interpolating hair that made longer strands cirl up.
- also fixed problem with puff-volume option, it was over-accumulating so unselected parts of the hair would have too much offset applied.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58137 954f8c5b-7b00-dc11-b283-0030488c597c
fix for particle lasso-select inverting the selection.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58138 954f8c5b-7b00-dc11-b283-0030488c597c
add asserts for passing in bad index values to DM_get_***_data, CustomData_get()


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58139 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#36079] Use Modifier Stack Crash with Particles


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58140 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36041, Chroma key broken. Compositor node was using wrong socket index to link the output of the RGBToYCC operation to the chroma matte input.

This mistake happens over and over, it's just not clear what the index arguments in these relink functions mean ... We really need to clean up that interface.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58141 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#36065] UI labels are shown in the theme color for unselected list items


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58142 954f8c5b-7b00-dc11-b283-0030488c597c
fix for possible bug with compilers that dont have boolean support.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58143 954f8c5b-7b00-dc11-b283-0030488c597c
remove reference to wrong python version in comments & pedantic style edit.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58145 954f8c5b-7b00-dc11-b283-0030488c597c
patch [#36078] Fixes joining behavior for curves and armatures (when active object not selected).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58146 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36076: Metaballs as particles with particle texture (size influence) crashes Blender

Issue was caused by size influence affecting on object's matrix, which
is nice by it's own. But mball code was using ob->size to check whether
it's zero-sized object or not, but then was using ob->obmat to scale
the meta elements.

This lead to situation when zero-sized elements were trying to tessellate,
which is for sure a really bad idea.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58147 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36080: fix cycles crash with certain group node setups, accessing freed
memory.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58149 954f8c5b-7b00-dc11-b283-0030488c597c
no need to copy mat4x4 -> 3x3 in mat4_to_scale


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58152 954f8c5b-7b00-dc11-b283-0030488c597c
skip duplicating faces for edge slide unless its used, this causes update problems for shape keys at the moment, Ill check on that but no need to run in most cases.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58153 954f8c5b-7b00-dc11-b283-0030488c597c
BM_mesh_clear was setting toolflags incorrectly, also no meed to calloc when shrinking toolflags array.


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