Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-01-24 16:19:05 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-01-24 16:19:05 +0300
commit2275bac468132a9e3b82e3b2d1138a86e4294a86 (patch)
tree207158bb4a2bd0f307f16ced540fe7fd6c9b7a10 /io_export_unreal_psk_psa.py
parent52efcbc744959deb4c36e2c723b63d8cc49e946d (diff)
changes Operator names for new, stricter checking.
Diffstat (limited to 'io_export_unreal_psk_psa.py')
-rw-r--r--io_export_unreal_psk_psa.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/io_export_unreal_psk_psa.py b/io_export_unreal_psk_psa.py
index c8e7fbd6..fcae7f6a 100644
--- a/io_export_unreal_psk_psa.py
+++ b/io_export_unreal_psk_psa.py
@@ -1660,7 +1660,7 @@ bpy.types.Scene.unrealexportpsa = BoolProperty(
class ExportUDKAnimData(bpy.types.Operator):
global exportmessage
'''Export Skeleton Mesh / Animation Data file(s)'''
- bl_idname = "export.udk_anim_data" # this is important since its how bpy.ops.export.udk_anim_data is constructed
+ bl_idname = "export_anim.udk" # this is important since its how bpy.ops.export.udk_anim_data is constructed
bl_label = "Export PSK/PSA"
__doc__ = "One mesh and one armature else select one mesh or armature to be exported."
@@ -1742,7 +1742,7 @@ class VIEW3D_PT_unrealtools_objectmode(bpy.types.Panel):
class OBJECT_OT_UnrealExport(bpy.types.Operator):
global exportmessage
- bl_idname = "OBJECT_OT_UnrealExport"
+ bl_idname = "export_mesh.udk" # XXX, name???
bl_label = "Unreal Export"
__doc__ = "Select export setting for .psk/.psa or both."
@@ -1772,7 +1772,7 @@ def menu_func(self, context):
#bpy.context.scene.unrealexportpsk = True
#bpy.context.scene.unrealexportpsa = True
default_path = os.path.splitext(bpy.data.filepath)[0] + ".psk"
- self.layout.operator("export.udk_anim_data", text="Skeleton Mesh / Animation Data (.psk/.psa)").filepath = default_path
+ self.layout.operator(ExportUDKAnimData.bl_idname, text="Skeleton Mesh / Animation Data (.psk/.psa)").filepath = default_path
def register():
bpy.types.INFO_MT_file_export.append(menu_func)