From 8a1e41ca7d5b59f12711e19d2382c4f4448f7803 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 18 Feb 2013 13:31:50 +0000 Subject: Systematically adding some custom id to template_list using default UI_UL_list class, this one is commoly used more than once in an area, yielding collision issues if they do not have a custom id... --- io_export_unreal_psk_psa.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'io_export_unreal_psk_psa.py') diff --git a/io_export_unreal_psk_psa.py b/io_export_unreal_psk_psa.py index 909f246a..c84efd37 100644 --- a/io_export_unreal_psk_psa.py +++ b/io_export_unreal_psk_psa.py @@ -2325,14 +2325,17 @@ class Panel_UDKExport( bpy.types.Panel ): if context.scene.udk_option_selectobjects: layout.operator("object.selobjectpdate") layout.label(text="ARMATURE") - layout.template_list("UI_UL_list", "", context.scene, "udkArm_list", context.scene, "udkArm_list_idx", rows=3) + layout.template_list("UI_UL_list", "udk_armatures", context.scene, "udkArm_list", + context.scene, "udkArm_list_idx", rows=3) layout.label(text="MESH - Select / Export") - layout.template_list("UL_UDKMeshList", "", context.scene, "udkmesh_list", context.scene, "udkmesh_list_idx", rows=5) + layout.template_list("UL_UDKMeshList", "", context.scene, "udkmesh_list", + context.scene, "udkmesh_list_idx", rows=5) layout.prop(context.scene, "udk_option_selectanimations") if context.scene.udk_option_selectanimations: layout.operator("action.setanimupdate") layout.label(text="Action Set(s) - Match / Export") - layout.template_list("UL_UDKActionSetList", "", context.scene, "udkas_list", context.scene, "udkas_list_idx", rows=5) + layout.template_list("UL_UDKActionSetList", "", context.scene, "udkas_list", + context.scene, "udkas_list_idx", rows=5) test = layout.separator() layout.prop(context.scene, "udk_option_scale") layout.prop(context.scene, "udk_option_rebuildobjects") -- cgit v1.2.3