split up notifier in redraw/refresh.
case NC_SPACE:
if(wmn->data==ND_SPACE_NODE)
ED_area_tag_refresh(sa);
+ else if(wmn->data==ND_SPACE_NODE_VIEW)
+ ED_area_tag_redraw(sa);
break;
}
}
else if(t->spacetype == SPACE_NODE)
{
//ED_area_tag_redraw(t->sa);
- WM_event_add_notifier(C, NC_SPACE|ND_SPACE_NODE, NULL);
+ WM_event_add_notifier(C, NC_SPACE|ND_SPACE_NODE_VIEW, NULL);
}
else if(t->spacetype == SPACE_SEQ)
{
prop= RNA_def_property(srna, "backdrop", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flag", SNODE_BACKDRAW);
RNA_def_property_ui_text(prop, "Backdrop", "Use active Viewer Node output as backdrop for compositing nodes.");
- RNA_def_property_update(prop, NC_SPACE|ND_SPACE_NODE, NULL);
+ RNA_def_property_update(prop, NC_SPACE|ND_SPACE_NODE_VIEW, NULL);
}
static void rna_def_space_logic(BlenderRNA *brna)
#define ND_SPACE_DOPESHEET (13<<16)
#define ND_SPACE_NLA (14<<16)
#define ND_SPACE_SEQUENCER (15<<16)
+#define ND_SPACE_NODE_VIEW (16<<16)
/* subtype, 256 entries too */
#define NOTE_SUBTYPE 0x0000FF00