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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-09-23 22:54:06 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-09-23 22:54:06 +0400
commitd8ebb7beff032d8b68fe1c0bbc9a29b1e3441df3 (patch)
treebd1455370c4aac993cde340b1855c0ce80124906
parent6ae20032500d6a23f00fba5e53e6a2ea41bc0646 (diff)
Fix part of #22853: armature editmode crash with undo.
-rw-r--r--source/blender/editors/armature/editarmature.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/armature/editarmature.c b/source/blender/editors/armature/editarmature.c
index c2d7b057bfb..8cac3c42e4d 100644
--- a/source/blender/editors/armature/editarmature.c
+++ b/source/blender/editors/armature/editarmature.c
@@ -2245,6 +2245,8 @@ static void undoBones_to_editBones(void *uarmv, void *armv)
ebo= uarm->act_edbone;
arm->act_edbone= ebo->temp;
}
+ else
+ arm->act_edbone= NULL;
/* set pointers */
for(newebo= arm->edbo->first; newebo; newebo= newebo->next) {