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:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-11-09 18:59:29 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-11-09 19:00:31 +0300
commit4d9562a3ae34e038b178043446c8e82f2dbd1dbd (patch)
treeb3bdab0589c5dee755789d1dc9bb9a2b0078de5b /source/blender/editors
parent18be39ff17e995ab09bd9eef2b842f66f5270e37 (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.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/armature/armature_edit.c1
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);