[Bf-blender-cvs] [299b51dc83a] blender2.8: POSE_OT_rotation_mode_set: Adding missing notifier

Dalai Felinto noreply at git.blender.org
Fri Oct 12 20:27:31 CEST 2018


Commit: 299b51dc83aa857117ce0007904c41f86dbc2037
Author: Dalai Felinto
Date:   Fri Oct 12 14:56:13 2018 -0300
Branches: blender2.8
https://developer.blender.org/rB299b51dc83aa857117ce0007904c41f86dbc2037

POSE_OT_rotation_mode_set: Adding missing notifier

Otherwise the space button does not redraw.

===================================================================

M	source/blender/editors/armature/pose_edit.c

===================================================================

diff --git a/source/blender/editors/armature/pose_edit.c b/source/blender/editors/armature/pose_edit.c
index 8df712cd8d8..890e2b73601 100644
--- a/source/blender/editors/armature/pose_edit.c
+++ b/source/blender/editors/armature/pose_edit.c
@@ -844,6 +844,7 @@ static int pose_bone_rotmode_exec(bContext *C, wmOperator *op)
 			/* Notifiers and updates. */
 			DEG_id_tag_update((ID *)ob, OB_RECALC_DATA);
 			WM_event_add_notifier(C, NC_OBJECT | ND_TRANSFORM, ob);
+			WM_event_add_notifier(C, NC_OBJECT | ND_BONE_SELECT, ob);
 			prev_ob = ob;
 		}
 	}



More information about the Bf-blender-cvs mailing list