[Bf-blender-cvs] [1201c20] GPencil_EditStrokes: Bugfix: Sequencer properties panel doesn't update when new Grease Pencil data is added

Joshua Leung noreply at git.blender.org
Tue Oct 21 15:23:40 CEST 2014


Commit: 1201c2055805e6d20ed64bc483b8cbc3e54ac45d
Author: Joshua Leung
Date:   Thu Oct 16 23:23:08 2014 +1300
Branches: GPencil_EditStrokes
https://developer.blender.org/rB1201c2055805e6d20ed64bc483b8cbc3e54ac45d

Bugfix: Sequencer properties panel doesn't update when new Grease Pencil data is added

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

M	source/blender/editors/space_sequencer/space_sequencer.c

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

diff --git a/source/blender/editors/space_sequencer/space_sequencer.c b/source/blender/editors/space_sequencer/space_sequencer.c
index 20abb56..a92e38e 100644
--- a/source/blender/editors/space_sequencer/space_sequencer.c
+++ b/source/blender/editors/space_sequencer/space_sequencer.c
@@ -641,7 +641,7 @@ static void sequencer_buttons_area_listener(bScreen *UNUSED(sc), ScrArea *UNUSED
 	/* context changes */
 	switch (wmn->category) {
 		case NC_GPENCIL:
-			if (wmn->data == ND_DATA) {
+			if (ELEM(wmn->action, NA_EDITED, NA_SELECTED)) {
 				ED_region_tag_redraw(ar);
 			}
 			break;




More information about the Bf-blender-cvs mailing list