Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/armature/armature_utils.c')
-rw-r--r--source/blender/editors/armature/armature_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/armature_utils.c b/source/blender/editors/armature/armature_utils.c
index 4991ef63cf5..76cd12f12f8 100644
--- a/source/blender/editors/armature/armature_utils.c
+++ b/source/blender/editors/armature/armature_utils.c
@@ -488,7 +488,6 @@ void ED_armature_from_edit(Object *obedit)
/* don't change active selection, this messes up separate which uses
* editmode toggle and can separate active bone which is de-selected originally */
/* newBone->flag |= BONE_SELECTED; */ /* important, editbones can be active with only 1 point selected */
- arm->act_edbone = NULL;
arm->act_bone = newBone;
}
newBone->roll = 0.0f;
@@ -575,6 +574,7 @@ void ED_armature_edit_free(struct Object *ob)
}
MEM_freeN(arm->edbo);
arm->edbo = NULL;
+ arm->act_edbone = NULL;
}
}