diff options
author | Ton Roosendaal <ton@blender.org> | 2005-09-07 22:07:24 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-09-07 22:07:24 +0400 |
commit | e2944936ac33771996898063c3b719f9fc26b4ef (patch) | |
tree | 38042549e488c6f1039a9cde9070eb801aa8c222 /source/blender/blenkernel/BKE_modifier.h | |
parent | add2e9bfa2d6f6cc8ab50566d1d2966d1a83c6bd (diff) |
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.
Diffstat (limited to 'source/blender/blenkernel/BKE_modifier.h')
-rw-r--r-- | source/blender/blenkernel/BKE_modifier.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_modifier.h b/source/blender/blenkernel/BKE_modifier.h index e600c0752fb..55a09fcd158 100644 --- a/source/blender/blenkernel/BKE_modifier.h +++ b/source/blender/blenkernel/BKE_modifier.h @@ -201,7 +201,7 @@ void modifiers_clearErrors (struct Object *ob); int modifiers_getCageIndex (struct Object *ob, int *lastPossibleCageIndex_r); int modifiers_isSoftbodyEnabled (struct Object *ob); -int modifiers_isDeformedByArmature(struct Object *ob, struct Object *armOb); +struct Object* modifiers_isDeformedByArmature(struct Object *ob); ModifierData* modifiers_getVirtualModifierList (struct Object *ob); |