diff options
Diffstat (limited to 'source/blender/python/api2_2x/Armature.c')
-rw-r--r-- | source/blender/python/api2_2x/Armature.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Armature.c b/source/blender/python/api2_2x/Armature.c index a2a3db05bc8..743956a1f61 100644 --- a/source/blender/python/api2_2x/Armature.c +++ b/source/blender/python/api2_2x/Armature.c @@ -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; |