correct error getting the selection from recent change.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57225 954f8c5b-7b00-dc11-b283-0030488c597c
reduce signed/unsigned conversion in subsurf.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57226 954f8c5b-7b00-dc11-b283-0030488c597c
use vla's if supported as replacement to BLI_array in subsurf code.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57227 954f8c5b-7b00-dc11-b283-0030488c597c
Fix build error on non-x86 architectures as pointed out by Jochen Schmitt.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57228 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35624: rendering to a new window, then switching scene in the main window,
would still continue to render the previous scene in the render window on F12.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57229 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35614: cycles objects on mask layer in render layers were writing passes
such as motion/uv/normal but they should have been excluded from them.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57230 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35617: cycles GLSL object texture coordinates were wrong.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57231 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35623: separate mesh operator did not redraw the outliner.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57232 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35622: applying modifiers did not give correct smooth shading normals
after recent changes to avoid computing unneeded normals.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57233 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35602: VBO + dynamic topology sculpt did not show specularity.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57234 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles:
* Revert r57203 (len() renaming)
There seems to be a problem with nVidia OpenCL after this and I haven't figured out the real cause yet. 
Better to selectively enable native length() later, after figuring out what's wrong. 

This fixes [#35612].

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57235 954f8c5b-7b00-dc11-b283-0030488c597c
fix for own error in recent bridge changes, make sure normals are calculated before use.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57236 954f8c5b-7b00-dc11-b283-0030488c597c
fix own error with removing vertex weights not checking for non-existing weights.
however this exposed some other odd behavior.

removing a vertex group would add one if not found but only for meshes, not lattices.

now just skip removal if not found.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57239 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#35613] Dopesheet, Graph Editor Trouble Selecting Channels


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57240 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#35629] Incorrect Rendered Viewport Horizontal Splitting

previously the order didnt matter but with viewport render, its noticable.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57241 954f8c5b-7b00-dc11-b283-0030488c597c
yet another check for missing vertex groups needed (for 'Select/Deselect')


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57242 954f8c5b-7b00-dc11-b283-0030488c597c
Added 'clear active group' to object data properties -> Vertex Groups -> pulldown menu

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57243 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#35453] "copy mirrored uv coords" doesn't work

- made precision configurable.
- report a warning when doubles are found since they cause problems.

added Polygon.center attribute to avoid calculating in python.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57244 954f8c5b-7b00-dc11-b283-0030488c597c
changes to mirror tools

- give feedback on how many mirror verts succeed/fail (for select mirror, shape key mirror, weight mirror)
... when a mirror failed it was confusing and not obvious what was going on.

- slight change to select mirror, now center vertices will remain selected.

- speedup to EDBM_verts_mirror_cache_begin, cache customdata layer offset.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57245 954f8c5b-7b00-dc11-b283-0030488c597c
add option to remove all shape keys at once (access from shape key menu on panel).

Without this there was no easy way to get a WYSIWYG copy of a mesh that had shape keys,
since removing them would adjust the mesh.


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