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:
authorLukas Toenne <lukas.toenne@googlemail.com>2013-09-09 10:31:30 +0400
committerLukas Toenne <lukas.toenne@googlemail.com>2013-09-09 10:31:30 +0400
commit854f99b31ec0b1fe273b4ad332b0ee6f14ab9c24 (patch)
treeb776f134d2c782f2b91ad6c27359130f76d022b1 /source/blender/editors/armature
parent00bd7da6745d8f8aa9ec7327f38ed6ac253beba7 (diff)
Fix #36663, Bone properties sometimes vanish when mousing into properties window.
Active edit bone was cleared from armature after each file save, even though the edit data is not actually freed then. Without the active edit bone the poll functions for bone panels fail.
Diffstat (limited to 'source/blender/editors/armature')
-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;
}
}