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@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@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@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@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@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@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@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@57246 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35625, crash with NULL pointer after node render. Happens when node group node_tree pointer is NULL, then the group node doesn not produce any execdata and needs to check this accordingly in the
freeexec callback.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@57247 954f8c5b-7b00-dc11-b283-0030488c597c
Obsessive Null Checking Compulsion case:
Textured draw mode + DynTopo crashed after recent specularity tweak.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@57248 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35633, Cannot Add Group Node In Blender 2.67a. The menu entry for the "make group" operator was missing in the new categories system. Added an alternative NodeItemCustom to the standard NodeItem to
allow custom draw functions such as this operator. Used in the group items callback to generate the basic group_make operator call.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@57249 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles: GLSL materials now can use multiple UV maps with the attribute node.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@57250 954f8c5b-7b00-dc11-b283-0030488c597c
Fix textured draw mode + dyntopo crash fix to cover more cases.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@57251 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35640, part 1. Set the id.lib pointer for nested bNodeTree data blocks inside material, scene, etc. on lib_link, so that the UI buttons get disabled when editing linked node trees. Thanks to Brecht
van Lommel for suggesting this fix.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@57252 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35640, part 2. Check id.lib in poll functions for operators which do critical modification of node trees (create nodes, link, etc.). Transform operators and hide/show type operators are still
allowed, this does not modify actual behavior of the nodes and can be useful for inspecting linked nodes.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@57253 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#35628] Dynamic paint waves over ocean modifier doesn't work

Caused by my recent normal calculation changes, added dependsOnNormals callback which was missing for ocean modifier (it assumed input normals were set).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@57254 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for own mistake in r57252, needs to unset id.lib of the newly copied tree instead of the old one.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@57255 954f8c5b-7b00-dc11-b283-0030488c597c
Removed the "Make Local?" popup from group node edit operator on linked node groups. This is no longer necessary since we can now quite safely display linked node trees in general (this check was already
meaningless for material node trees and the like as demonstrated by bug #35640, so rather pointless).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@57256 954f8c5b-7b00-dc11-b283-0030488c597c
issue warning when WITH_RAYOPTIMIZATION is used with MinGW-w32, since this is known to give crashes.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@57257 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for frame node property display: Extended frame node properties such as the "shrink" option were not shown in the node editor sidebar. This was because the RNA type for the node was not using
NodeInternal as a base, which is a wrapper to expose the C callbacks as methods in bpy. Now these basic node types are also based on NodeInternal to ensure the full interface is available to py scripts.

In the process removed the unused NodeGroup register function, this doesn't work nicely anyway because it requires multiple inheritance which RNA doesn't support (so py node groups should be done
entirely in python in the future).

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