allow dealing with vertex groups once an object is created from a mesh.
This commit is contained in:
@@ -1543,6 +1543,10 @@ typeError:
|
||||
/* make sure data and object materials are consistent */
|
||||
test_object_materials( (ID *)object->data );
|
||||
|
||||
/* so we can deal with vertex groups */
|
||||
if (type == OB_MESH)
|
||||
((BPy_Mesh *)py_data)->object = object;
|
||||
|
||||
return Object_CreatePyObject( object );
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user