Revision: 56037
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=56037
Author:   lukastoenne
Date:     2013-04-14 07:23:44 +0000 (Sun, 14 Apr 2013)
Log Message:
-----------
Fix for #34910, NodeGroup input/output sliders bug. Initially i thought this 
was a limitation of the "only 1 list per panel supported" type, but this has 
since been fixed. Lists just need an additional identifier to distinguish lists 
in the same panel, thanks to Bastien Montagne for the uiList overhaul!

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

Modified: trunk/blender/source/blender/editors/space_node/node_buttons.c
===================================================================
--- trunk/blender/source/blender/editors/space_node/node_buttons.c      
2013-04-14 07:18:37 UTC (rev 56036)
+++ trunk/blender/source/blender/editors/space_node/node_buttons.c      
2013-04-14 07:23:44 UTC (rev 56037)
@@ -212,13 +212,13 @@
        split = uiLayoutRow(row, TRUE);
        col = uiLayoutColumn(split, TRUE);
        uiItemL(col, IFACE_("Inputs:"), ICON_NONE);
-       uiTemplateList(col, (bContext *)C, "NODE_UL_interface_sockets", "", 
&ptr, "inputs", &ptr, "active_input", 0, 0, 0);
+       uiTemplateList(col, (bContext *)C, "NODE_UL_interface_sockets", 
"inputs", &ptr, "inputs", &ptr, "active_input", 0, 0, 0);
        opptr = uiItemFullO(col, "NODE_OT_tree_socket_add", "", ICON_PLUS, 
NULL, WM_OP_EXEC_DEFAULT, UI_ITEM_O_RETURN_PROPS);
        RNA_enum_set(&opptr, "in_out", SOCK_IN);
        
        col = uiLayoutColumn(split, TRUE);
        uiItemL(col, IFACE_("Outputs:"), ICON_NONE);
-       uiTemplateList(col, (bContext *)C, "NODE_UL_interface_sockets", "", 
&ptr, "outputs", &ptr, "active_output", 0, 0, 0);
+       uiTemplateList(col, (bContext *)C, "NODE_UL_interface_sockets", 
"outputs", &ptr, "outputs", &ptr, "active_output", 0, 0, 0);
        opptr = uiItemFullO(col, "NODE_OT_tree_socket_add", "", ICON_PLUS, 
NULL, WM_OP_EXEC_DEFAULT, UI_ITEM_O_RETURN_PROPS);
        RNA_enum_set(&opptr, "in_out", SOCK_OUT);
        

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

Reply via email to