[Bf-blender-cvs] [c9afc41cfdf] master: Fix T52650:Grease pencil selection its not automatically updating in Clip Editor

Antonio Vazquez noreply at git.blender.org
Fri Sep 8 11:22:32 CEST 2017


Commit: c9afc41cfdff010bf3cc015885c9f0126c355564
Author: Antonio Vazquez
Date:   Fri Sep 8 11:21:49 2017 +0200
Branches: master
https://developer.blender.org/rBc9afc41cfdff010bf3cc015885c9f0126c355564

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