diff options
author | Ton Roosendaal <ton@blender.org> | 2005-09-11 14:12:31 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-09-11 14:12:31 +0400 |
commit | f20f4e4307b0fc63dd26984b68e296344ac8c95f (patch) | |
tree | b72f83da761b3e33c0276e07de1f6331623c7050 /source/blender/python/api2_2x/Bone.c | |
parent | 42ee04702c61f84b2180c89956aeb017fc315c4e (diff) |
Bug fix #3033
Using "make parent armature with creating vertex groups" option gave
corrupted memory when one or more bones had the "Deform" option not set.
Was caused by old boneclass SKINNABLE variable. To end this confusement,
removed this define from code.
Note for future Armature tool coders; don't use this bonelooper
functionality. Operations in Object mode for armatures should use the
Pose Channels, which is a simple ListBase to go over. I have to recode
the 'create vertexgroups' still...
Diffstat (limited to 'source/blender/python/api2_2x/Bone.c')
-rw-r--r-- | source/blender/python/api2_2x/Bone.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Bone.c b/source/blender/python/api2_2x/Bone.c index 8d66b08265a..6a6980107a2 100644 --- a/source/blender/python/api2_2x/Bone.c +++ b/source/blender/python/api2_2x/Bone.c @@ -619,7 +619,6 @@ static PyObject *M_Bone_New( PyObject * self, PyObject * args ) BLI_strncpy( py_bone->parent, parent_str, strlen( parent_str ) + 1 ); py_bone->roll = 0.0f; py_bone->flag = 32; - py_bone->boneclass = BONE_SKINNABLE; py_bone->dist = 1.0f; py_bone->weight = 1.0f; Vector_Zero( py_bone->head ); |