diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-02-18 17:31:50 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-02-18 17:31:50 +0400 |
commit | 8a1e41ca7d5b59f12711e19d2382c4f4448f7803 (patch) | |
tree | ba181d4c9feeef97b75c8f27d12876024adb3dbe /io_export_unreal_psk_psa.py | |
parent | 857f14eff6971ea3db19cb99686354c9388430b9 (diff) |
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...
Diffstat (limited to 'io_export_unreal_psk_psa.py')
-rw-r--r-- | io_export_unreal_psk_psa.py | 9 |
1 files changed, 6 insertions, 3 deletions
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") |