diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-09-23 22:54:06 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-09-23 22:54:06 +0400 |
commit | d8ebb7beff032d8b68fe1c0bbc9a29b1e3441df3 (patch) | |
tree | bd1455370c4aac993cde340b1855c0ce80124906 | |
parent | 6ae20032500d6a23f00fba5e53e6a2ea41bc0646 (diff) |
Fix part of #22853: armature editmode crash with undo.
-rw-r--r-- | source/blender/editors/armature/editarmature.c | 2 |
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) { |