Fix for weight painting errors, as reported by Bassam.
authorTon Roosendaal <ton@blender.org>
Wed, 7 Sep 2005 18:07:24 +0000 (18:07 +0000)
committerTon Roosendaal <ton@blender.org>
Wed, 7 Sep 2005 18:07:24 +0000 (18:07 +0000)
commite2944936ac33771996898063c3b719f9fc26b4ef
tree38042549e488c6f1039a9cde9070eb801aa8c222
parentadd2e9bfa2d6f6cc8ab50566d1d2966d1a83c6bd
Fix for weight painting errors, as reported by Bassam.

- Undo/Redo didn't work
- Crash on using weightpaint with Armature-modifier (instead of parent).

Note: checking if an object is being deformed cannot be simply done with
checking for a parent anymore... for this a call in modifier.c has been
added; modifiers_isDeformedByArmature(Object *). It even returns the
Armature object pointer.
source/blender/blenkernel/BKE_modifier.h
source/blender/blenkernel/intern/armature.c
source/blender/blenkernel/intern/modifier.c
source/blender/src/buttons_object.c
source/blender/src/editarmature.c
source/blender/src/editdeform.c
source/blender/src/vpaint.c