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...
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user