diff options
author | meta-androcto <meta.androcto1@gmail.com> | 2017-01-18 01:59:44 +0300 |
---|---|---|
committer | meta-androcto <meta.androcto1@gmail.com> | 2017-01-18 01:59:44 +0300 |
commit | f20cd1211e18a2a8267f22b216c379c1bc6bd547 (patch) | |
tree | ea5d0c6ad385b8ac0fa3a1991327e1045a3cecba | |
parent | 96ebb5adc27c5a52826fdcb09c3cc3d3af838c9b (diff) |
psk i/o: restrict panel to object mode T50357
-rw-r--r-- | io_export_unreal_psk_psa.py | 1 | ||||
-rw-r--r-- | io_import_scene_unreal_psa_psk.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/io_export_unreal_psk_psa.py b/io_export_unreal_psk_psa.py index f5c03167..c410f91c 100644 --- a/io_export_unreal_psk_psa.py +++ b/io_export_unreal_psk_psa.py @@ -2279,6 +2279,7 @@ class Panel_UDKExport( bpy.types.Panel ): bl_category = "File I/O" bl_space_type = "VIEW_3D" bl_region_type = "TOOLS" + bl_context = "objectmode" #def draw_header(self, context): # layout = self.layout diff --git a/io_import_scene_unreal_psa_psk.py b/io_import_scene_unreal_psa_psk.py index 9733fa73..045ef471 100644 --- a/io_import_scene_unreal_psa_psk.py +++ b/io_import_scene_unreal_psa_psk.py @@ -1104,6 +1104,7 @@ class Panel_UDKImport(bpy.types.Panel): bl_space_type = "VIEW_3D" bl_region_type = "TOOLS" bl_category = "File I/O" + bl_context = "objectmode" filepath = StringProperty( subtype='FILE_PATH', |