Fix for add hook/vertex parent for meshes
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 19 Sep 2011 08:25:31 +0000 (08:25 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 19 Sep 2011 08:25:31 +0000 (08:25 +0000)
commitdd204cb9f73ace004322675da7928dd274cc4882
tree34a7fab341ad0015a5f34feae09d6af2b3ae0a9c
parent4e9ab6d04c4ae6306be77cccbb403804ec8d9108
Fix for add hook/vertex parent for meshes

The only way to achieve this is to re-load editMesh.
After this commit you can't iterate through vertices and insert
hooks/parents from script anymore -- this operators are now
treated as topology-changing and shouldn't be used when iterating
via geometries.
source/blender/editors/object/object_hook.c
source/blender/editors/object/object_relations.c