Added an optional label string to nodes. As pointed out by Sebastian Koenig, some...
[blender.git] / source / blender / editors / space_node / node_buttons.c
index b1191b616dcf55b1ab20f9346b551e74767dd587..f8ea6e881f73165eece669be524f8dd3eba862a7 100644 (file)
@@ -113,6 +113,7 @@ static void active_node_panel(const bContext *C, Panel *pa)
        
        /* draw this node's name, etc. */
        uiItemR(layout, &ptr, "name", 0, NULL, ICON_NODE);
+       uiItemR(layout, &ptr, "label", 0, NULL, ICON_NODE);
        // TODO: a separator would be nice...
        
        /* draw this node's settings */