[Bf-extensions-cvs] [e046677] master: .psk i/o, change Tab name to File I/O T50357

meta-androcto noreply at git.blender.org
Sun Jan 8 02:47:27 CET 2017


Commit: e04667744f61f4f275830a3d1c791c8145078794
Author: meta-androcto
Date:   Sun Jan 8 12:47:01 2017 +1100
Branches: master
https://developer.blender.org/rBAe04667744f61f4f275830a3d1c791c8145078794

.psk i/o, change Tab name to File I/O T50357

===================================================================

M	io_export_unreal_psk_psa.py
M	io_import_scene_unreal_psa_psk.py

===================================================================

diff --git a/io_export_unreal_psk_psa.py b/io_export_unreal_psk_psa.py
index 47aea0e..f5c0316 100644
--- a/io_export_unreal_psk_psa.py
+++ b/io_export_unreal_psk_psa.py
@@ -2276,7 +2276,7 @@ class Panel_UDKExport( bpy.types.Panel ):
 
     bl_label        = "UDK Export"
     bl_idname       = "OBJECT_PT_udk_tools"
-    bl_category     = "Import/Export"
+    bl_category     = "File I/O"
     bl_space_type   = "VIEW_3D"
     bl_region_type  = "TOOLS"
 
@@ -2670,7 +2670,7 @@ class PskAddonPreferences(bpy.types.AddonPreferences):
     category = bpy.props.StringProperty(
             name="Tab Category",
             description="Choose a name for the category of the panel",
-            default="Import/Export",
+            default="File I/O",
             update=update_panel)
 
     def draw(self, context):
@@ -2687,6 +2687,7 @@ def register():
     #print("REGISTER")
     bpy.utils.register_module(__name__)
     bpy.types.INFO_MT_file_export.append(menu_func)
+    update_panel(None, bpy.context)
 
 def unregister():
     #print("UNREGISTER")
diff --git a/io_import_scene_unreal_psa_psk.py b/io_import_scene_unreal_psa_psk.py
index cfb28db..9733fa7 100644
--- a/io_import_scene_unreal_psa_psk.py
+++ b/io_import_scene_unreal_psa_psk.py
@@ -1103,7 +1103,7 @@ class Panel_UDKImport(bpy.types.Panel):
     bl_idname = "OBJECT_PT_udk_import"
     bl_space_type = "VIEW_3D"
     bl_region_type = "TOOLS"
-    bl_category = "Import/Export"
+    bl_category = "File I/O"
 
     filepath = StringProperty(
             subtype='FILE_PATH',



More information about the Bf-extensions-cvs mailing list