[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [54754] trunk/blender/source/blender/ editors/space_node/drawnode.c: Fix for [#34356] Inputs list in file output doesn't appear properly.

Thomas Dinges blender at dingto.org
Fri Feb 22 13:24:08 CET 2013


Revision: 54754
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54754
Author:   dingto
Date:     2013-02-22 12:24:08 +0000 (Fri, 22 Feb 2013)
Log Message:
-----------
Fix for [#34356] Inputs list in file output doesn't appear properly.

* This made File Output Node more or less useless in the 2.66 release, as the list did not appear. 
Issue caused in r53355.

Should be back ported to "a" release. 

Revision Links:
--------------
    http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53355

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

Modified: trunk/blender/source/blender/editors/space_node/drawnode.c
===================================================================
--- trunk/blender/source/blender/editors/space_node/drawnode.c	2013-02-22 11:06:25 UTC (rev 54753)
+++ trunk/blender/source/blender/editors/space_node/drawnode.c	2013-02-22 12:24:08 UTC (rev 54754)
@@ -2163,12 +2163,12 @@
 	active_index = RNA_int_get(ptr, "active_input_index");
 	/* using different collection properties if multilayer format is enabled */
 	if (multilayer) {
-		uiTemplateList(col, C, "UI_UL_list", "", ptr, "layer_slots", ptr, "active_input_index", 0, 0, 0);
+		uiTemplateList(col, C, "UI_UL_list", "file_output_node", ptr, "layer_slots", ptr, "active_input_index", 0, 0, 0);
 		RNA_property_collection_lookup_int(ptr, RNA_struct_find_property(ptr, "layer_slots"),
 		                                   active_index, &active_input_ptr);
 	}
 	else {
-		uiTemplateList(col, C, "UI_UL_list", "", ptr, "file_slots", ptr, "active_input_index", 0, 0, 0);
+		uiTemplateList(col, C, "UI_UL_list", "file_output_node", ptr, "file_slots", ptr, "active_input_index", 0, 0, 0);
 		RNA_property_collection_lookup_int(ptr, RNA_struct_find_property(ptr, "file_slots"),
 		                                   active_index, &active_input_ptr);
 	}




More information about the Bf-blender-cvs mailing list