[Bf-blender-cvs] [9acf3a10cfa] blender2.8: Fix: Changing bone group color doesn't refresh/redraw viewport

Joshua Leung noreply at git.blender.org
Mon Apr 23 14:06:02 CEST 2018


Commit: 9acf3a10cfa8d50e705347d7fe0d7601bc017fd5
Author: Joshua Leung
Date:   Mon Apr 23 13:01:11 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB9acf3a10cfa8d50e705347d7fe0d7601bc017fd5

Fix: Changing bone group color doesn't refresh/redraw viewport

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

M	source/blender/makesrna/intern/rna_pose.c

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

diff --git a/source/blender/makesrna/intern/rna_pose.c b/source/blender/makesrna/intern/rna_pose.c
index 84f3738d15d..0c8bfb31af3 100644
--- a/source/blender/makesrna/intern/rna_pose.c
+++ b/source/blender/makesrna/intern/rna_pose.c
@@ -123,6 +123,7 @@ static void rna_Pose_update(Main *UNUSED(bmain), Scene *UNUSED(scene), PointerRN
 	/* XXX when to use this? ob->pose->flag |= (POSE_LOCKED|POSE_DO_UNLOCK); */
 
 	DEG_id_tag_update(ptr->id.data, OB_RECALC_DATA);
+	WM_main_add_notifier(NC_OBJECT | ND_POSE, ptr->id.data);
 }
 
 static void rna_Pose_IK_update(Main *UNUSED(bmain), Scene *UNUSED(scene), PointerRNA *ptr)



More information about the Bf-blender-cvs mailing list