[Bf-blender-cvs] [87cc8550e2c] blender-v2.79-release: Fix T52650:Grease pencil selection its not automatically updating in Clip Editor

Antonio Vazquez noreply at git.blender.org
Fri Sep 8 12:33:05 CEST 2017


Commit: 87cc8550e2cd57b85ffee26a525792eb0688aa58
Author: Antonio Vazquez
Date:   Fri Sep 8 11:21:49 2017 +0200
Branches: blender-v2.79-release
https://developer.blender.org/rB87cc8550e2cd57b85ffee26a525792eb0688aa58

Fix T52650:Grease pencil selection its not automatically updating in Clip Editor

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

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

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

diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c
index 6e0d6ad2bcd..79e1e95b27a 100644
--- a/source/blender/makesrna/intern/rna_gpencil.c
+++ b/source/blender/makesrna/intern/rna_gpencil.c
@@ -74,7 +74,7 @@ static void rna_GPencil_editmode_update(Main *UNUSED(bmain), Scene *UNUSED(scene
 {
 	/* Notify all places where GPencil data lives that the editing state is different */
 	WM_main_add_notifier(NC_GPENCIL | NA_EDITED, NULL);
-	WM_main_add_notifier(NC_SCENE | ND_MODE, NULL);
+	WM_main_add_notifier(NC_SCENE | ND_MODE | NC_MOVIECLIP, NULL);
 }
 
 static void rna_GPencil_onion_skinning_update(Main *bmain, Scene *scene, PointerRNA *ptr)



More information about the Bf-blender-cvs mailing list