forked from bartvdbraak/blender
[ #3712 ] Calling makeEditable() and update() on an armature twice duplicates bones
* fixes bug where editbones are not freed on calling update()
This commit is contained in:
parent
ff7ca4b1a2
commit
de37b11e56
@ -465,6 +465,7 @@ static PyObject *Armature_update(BPy_Armature *self)
|
||||
if (!BonesDict_InitBones(self->Bones))
|
||||
return NULL;
|
||||
self->Bones->editmode_flag = 0;
|
||||
BLI_freelistN(&self->Bones->editbones);
|
||||
}else{
|
||||
goto AttributeError;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user