diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-18 20:20:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-18 20:22:00 +0300 |
commit | 69c42ad57bd614284810d2c9cd34ede320f6f587 (patch) | |
tree | 1ba4502498f7dad65d85a7ec0e8a3b53d876ded8 /source/blender/editors/armature | |
parent | 4704f2687a519f1d9a1fe7984da82c30d5f14227 (diff) |
Cleanup: consistent changed_multi assignment
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r-- | source/blender/editors/armature/pose_edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/armature/pose_edit.c b/source/blender/editors/armature/pose_edit.c index f8032c40a8e..c1e9346efdd 100644 --- a/source/blender/editors/armature/pose_edit.c +++ b/source/blender/editors/armature/pose_edit.c @@ -1101,9 +1101,9 @@ static int pose_hide_exec(bContext *C, wmOperator *op) bool changed = bone_looper(ob_iter, arm->bonebase.first, hide_select_p, hide_pose_bone_fn) != 0; if (changed) { + changed_multi = true; /* note, notifier might evolve */ WM_event_add_notifier(C, NC_OBJECT | ND_BONE_SELECT, ob_iter); - changed_multi = true; } } MEM_freeN(objects); @@ -1164,9 +1164,9 @@ static int pose_reveal_exec(bContext *C, wmOperator *op) bool changed = bone_looper(ob_iter, arm->bonebase.first, select_p, show_pose_bone_cb); if (changed) { + changed_multi = true; /* note, notifier might evolve */ WM_event_add_notifier(C, NC_OBJECT | ND_BONE_SELECT, ob_iter); - changed_multi = true; } } MEM_freeN(objects); |