* Added properties operator to the View menu.
* Added Notifier for Node Select Operator, so the new "Active Node" Panel gets refreshed.
This commit is contained in:
Thomas Dinges 2009-11-11 16:02:18 +00:00
parent 55a7e73b7d
commit f76a6020c0
2 changed files with 6 additions and 0 deletions

@ -72,6 +72,9 @@ class NODE_MT_view(bpy.types.Menu):
def draw(self, context):
layout = self.layout
layout.itemO("node.properties", icon='ICON_MENU_PANEL')
layout.itemS()
# layout.itemO("grease_pencil..")
# layout.itemS()

@ -140,6 +140,9 @@ static int node_select_exec(bContext *C, wmOperator *op)
}
ED_region_tag_redraw(ar);
/* send notifiers */
WM_event_add_notifier(C, NC_NODE|ND_NODE_SELECT, NULL);
/* allow tweak event to work too */
return OPERATOR_FINISHED|OPERATOR_PASS_THROUGH;