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:
authorPhilipp Oeser <info@graphics-engineer.com>2019-04-16 13:15:01 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2019-04-16 16:21:01 +0300
commit11175eb8a8422e37ac1e2646b49cfbfdf6f758e4 (patch)
tree595fe04d67c6b1f189b53f5c94dbe1fb47d0110b /source/blender/editors/armature
parente017d89eae55cd8218d060d927af608928940f51 (diff)
Fix T63617: Bone groups (de)select operators not immediately refreshing
was missing DEG updates Reviewers: brecht Maniphest Tasks: T63617 Differential Revision: https://developer.blender.org/D4691
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r--source/blender/editors/armature/pose_group.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/armature/pose_group.c b/source/blender/editors/armature/pose_group.c
index 0d1f899ce36..596e64b54fe 100644
--- a/source/blender/editors/armature/pose_group.c
+++ b/source/blender/editors/armature/pose_group.c
@@ -463,6 +463,8 @@ static int pose_group_select_exec(bContext *C, wmOperator *UNUSED(op))
pose_group_select(ob, 1);
/* notifiers for updates */
+ bArmature *arm = ob->data;
+ DEG_id_tag_update(&arm->id, ID_RECALC_SELECT);
WM_event_add_notifier(C, NC_OBJECT | ND_POSE, ob);
return OPERATOR_FINISHED;
@@ -494,6 +496,8 @@ static int pose_group_deselect_exec(bContext *C, wmOperator *UNUSED(op))
pose_group_select(ob, 0);
/* notifiers for updates */
+ bArmature *arm = ob->data;
+ DEG_id_tag_update(&arm->id, ID_RECALC_SELECT);
WM_event_add_notifier(C, NC_OBJECT | ND_POSE, ob);
return OPERATOR_FINISHED;