diff --git a/io_scene_psk_psa/__init__.py b/io_scene_psk_psa/__init__.py index 20cfc8e..3499517 100644 --- a/io_scene_psk_psa/__init__.py +++ b/io_scene_psk_psa/__init__.py @@ -78,8 +78,10 @@ def register(): def unregister(): - del bpy.types.Scene.psa_export del bpy.types.Scene.psa_import + del bpy.types.Scene.psk_import + del bpy.types.Scene.psa_export + del bpy.types.Scene.psk_export bpy.types.TOPBAR_MT_file_export.remove(psk_export_menu_func) bpy.types.TOPBAR_MT_file_import.remove(psk_import_menu_func) bpy.types.TOPBAR_MT_file_export.remove(psa_export_menu_func) diff --git a/io_scene_psk_psa/psa/exporter.py b/io_scene_psk_psa/psa/exporter.py index 6349d2e..546b846 100644 --- a/io_scene_psk_psa/psa/exporter.py +++ b/io_scene_psk_psa/psa/exporter.py @@ -110,7 +110,6 @@ class PsaExportOperator(Operator, ExportHelper): item_layout.enabled = is_bone_filter_mode_item_available(context, identifier) if property_group.bone_filter_mode == 'BONE_GROUPS': - box = layout.box() row = box.row() rows = max(3, min(len(property_group.bone_group_list), 10)) row.template_list('PSX_UL_BoneGroupList', '', property_group, 'bone_group_list', property_group, 'bone_group_list_index', rows=rows) diff --git a/io_scene_psk_psa/psa/importer.py b/io_scene_psk_psa/psa/importer.py index 0c08ecd..7f86078 100644 --- a/io_scene_psk_psa/psa/importer.py +++ b/io_scene_psk_psa/psa/importer.py @@ -249,10 +249,10 @@ class PSA_UL_ImportActionList(UIList): def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index): row = layout.row(align=True) split = row.split(align=True, factor=0.75) - action_col = split.row(align=True) - action_col.alignment = 'LEFT' - action_col.prop(item, 'is_selected', icon_only=True) - action_col.label(text=item.action_name) + column = split.row(align=True) + column.alignment = 'LEFT' + column.prop(item, 'is_selected', icon_only=True) + column.label(text=item.action_name) def draw_filter(self, context, layout): row = layout.row()