Revision: 39980
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=39980
Author:   lukastoenne
Date:     2011-09-06 17:28:26 +0000 (Tue, 06 Sep 2011)
Log Message:
-----------
Enabled the 'Layout' node category, currently only containing the 'Frame' node. 
Both the category and the node could be renamed as needed. The frame node is 
largely experimental and not totally useful yet, but much asked for, so can't 
hurt to let people try it out.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_node/node_header.c

Modified: trunk/blender/source/blender/editors/space_node/node_header.c
===================================================================
--- trunk/blender/source/blender/editors/space_node/node_header.c       
2011-09-06 17:27:18 UTC (rev 39979)
+++ trunk/blender/source/blender/editors/space_node/node_header.c       
2011-09-06 17:28:26 UTC (rev 39980)
@@ -232,6 +232,7 @@
                uiItemMenuF(layout, "Convertor", 0, node_add_menu, 
SET_INT_IN_POINTER(NODE_CLASS_CONVERTOR));
                uiItemMenuF(layout, "Group", 0, node_add_menu, 
SET_INT_IN_POINTER(NODE_CLASS_GROUP));
                uiItemMenuF(layout, "Dynamic", 0, node_add_menu, 
SET_INT_IN_POINTER(NODE_CLASS_OP_DYNAMIC));
+               uiItemMenuF(layout, "Layout", 0, node_add_menu, 
SET_INT_IN_POINTER(NODE_CLASS_LAYOUT));
        }
        else if(snode->treetype==NTREE_COMPOSIT) {
                uiItemMenuF(layout, "Input", 0, node_add_menu, 
SET_INT_IN_POINTER(NODE_CLASS_INPUT));
@@ -243,6 +244,7 @@
                uiItemMenuF(layout, "Matte", 0, node_add_menu, 
SET_INT_IN_POINTER(NODE_CLASS_MATTE));
                uiItemMenuF(layout, "Distort", 0, node_add_menu, 
SET_INT_IN_POINTER(NODE_CLASS_DISTORT));
                uiItemMenuF(layout, "Group", 0, node_add_menu, 
SET_INT_IN_POINTER(NODE_CLASS_GROUP));
+               uiItemMenuF(layout, "Layout", 0, node_add_menu, 
SET_INT_IN_POINTER(NODE_CLASS_LAYOUT));
        }
        else if(snode->treetype==NTREE_TEXTURE) {
                uiItemMenuF(layout, "Input", 0, node_add_menu, 
SET_INT_IN_POINTER(NODE_CLASS_INPUT));
@@ -253,6 +255,7 @@
                uiItemMenuF(layout, "Convertor", 0, node_add_menu, 
SET_INT_IN_POINTER(NODE_CLASS_CONVERTOR));
                uiItemMenuF(layout, "Distort", 0, node_add_menu, 
SET_INT_IN_POINTER(NODE_CLASS_DISTORT));
                uiItemMenuF(layout, "Group", 0, node_add_menu, 
SET_INT_IN_POINTER(NODE_CLASS_GROUP));
+               uiItemMenuF(layout, "Layout", 0, node_add_menu, 
SET_INT_IN_POINTER(NODE_CLASS_LAYOUT));
        }
 }
 

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to