diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-11-09 18:59:29 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-11-09 19:00:31 +0300 |
commit | 4d9562a3ae34e038b178043446c8e82f2dbd1dbd (patch) | |
tree | b3bdab0589c5dee755789d1dc9bb9a2b0078de5b | |
parent | 18be39ff17e995ab09bd9eef2b842f66f5270e37 (diff) |
Depsgraph: Fix crash deleting bones in armature edit mode
For the new dependency graph we have to rebuild graph when
bones "topology" are changing.
-rw-r--r-- | source/blender/editors/armature/armature_edit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/armature/armature_edit.c b/source/blender/editors/armature/armature_edit.c index ece0f18e96e..47e73f9b777 100644 --- a/source/blender/editors/armature/armature_edit.c +++ b/source/blender/editors/armature/armature_edit.c @@ -1328,6 +1328,7 @@ static int armature_delete_selected_exec(bContext *C, wmOperator *UNUSED(op)) return OPERATOR_CANCELLED; ED_armature_sync_selection(arm->edbo); + BKE_pose_tag_recalc(CTX_data_main(C), obedit->pose); WM_event_add_notifier(C, NC_OBJECT | ND_BONE_SELECT, obedit); |