Nodes:
authorThomas Dinges <blender@dingto.org>
Wed, 11 Nov 2009 16:02:18 +0000 (16:02 +0000)
committerThomas Dinges <blender@dingto.org>
Wed, 11 Nov 2009 16:02:18 +0000 (16:02 +0000)
* Added properties operator to the View menu.
* Added Notifier for Node Select Operator, so the new "Active Node" Panel gets refreshed.

release/scripts/ui/space_node.py
source/blender/editors/space_node/node_select.c

index 9880a320e25c1bc3b19c2e047c2d3ab6bd240f9f..5c93bede635d580859b40579330fa2f58de28176 100644 (file)
@@ -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()
index e082f3797c18cf92d4b4b9482071fece70cf2c64..67c7915694dec7a976f1544dd964f10e52e21df9 100644 (file)
@@ -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;