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:
authorJohn Phan <darkneter@gmail.com>2010-12-07 21:14:05 +0300
committerJohn Phan <darkneter@gmail.com>2010-12-07 21:14:05 +0300
commite4871edb66204081ac5939402bb2ff3f534fe53f (patch)
tree3b0af606a69a2c0e4ca15a6befb9d66ed7e03368 /io_export_unreal_psk_psa.py
parent7bdd237ab5108f10f6e95d6587970b07aec06762 (diff)
fixed global variable error script.
Diffstat (limited to 'io_export_unreal_psk_psa.py')
-rw-r--r--io_export_unreal_psk_psa.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/io_export_unreal_psk_psa.py b/io_export_unreal_psk_psa.py
index 066b8e9c..aaf61ce0 100644
--- a/io_export_unreal_psk_psa.py
+++ b/io_export_unreal_psk_psa.py
@@ -1650,12 +1650,12 @@ bpy.types.Scene.unrealactionexportall = BoolProperty(
bpy.types.Scene.unrealexportpsk = BoolProperty(
name="bool export psa",
description="bool for exporting this psk format",
- default=False)
+ default=True)
bpy.types.Scene.unrealexportpsa = BoolProperty(
name="bool export psa",
description="bool for exporting this psa format",
- default=False)
+ default=True)
class ExportUDKAnimData(bpy.types.Operator):
global exportmessage
@@ -1769,6 +1769,8 @@ class OBJECT_OT_UnrealExport(bpy.types.Operator):
return{'FINISHED'}
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