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:
authorThomas Dinges <blender@dingto.org>2010-09-11 02:28:43 +0400
committerThomas Dinges <blender@dingto.org>2010-09-11 02:28:43 +0400
commita0cc8a2448256b0dfa200f76d28b91c78e77905f (patch)
tree22ca9d10fa0a9e59f10e7bab5d8b17597e7f9cf2
parentf1133b1e990a80a832348758e32140b10ce7f411 (diff)
More fixes for API changes.
-rw-r--r--io_export_unreal_psk_psa.py15
1 files changed, 7 insertions, 8 deletions
diff --git a/io_export_unreal_psk_psa.py b/io_export_unreal_psk_psa.py
index 501912ad..46cb0ae5 100644
--- a/io_export_unreal_psk_psa.py
+++ b/io_export_unreal_psk_psa.py
@@ -1432,33 +1432,32 @@ exporttypedata.append(("0","PSK","Export PSK"))
exporttypedata.append(("1","PSA","Export PSA"))
exporttypedata.append(("2","ALL","Export ALL"))
-IntProperty= bpy.types.Scene.IntProperty
-
-IntProperty(attr="unrealfpsrate", name="fps rate",
+bpy.types.Scene.unrealfpsrate = IntProperty(
+ name="fps rate",
description="Set the frame per second (fps) for unreal.",
default=24,min=1,max=100)
-bpy.types.Scene.EnumProperty( attr="unrealexport_settings",
+bpy.types.Scene.unrealexport_settings = EnumProperty(
name="Export:",
description="Select a export settings (psk/psa/all)...",
items = exporttypedata, default = '0')
-bpy.types.Scene.BoolProperty( attr="unrealtriangulatebool",
+bpy.types.Scene.unrealtriangulatebool = BoolProperty(
name="Triangulate Mesh",
description="Convert Quad to Tri Mesh Boolean...",
default=False)
-bpy.types.Scene.BoolProperty( attr="unrealactionexportall",
+bpy.types.Scene.unrealactionexportall = BoolProperty(
name="All Actions",
description="This let you export all actions from current armature.[Not Build Yet]",
default=False)
-bpy.types.Scene.BoolProperty( attr="unrealexportpsk",
+bpy.types.Scene.unrealexportpsk = BoolProperty(
name="bool export psa",
description="bool for exporting this psk format",
default=False)
-bpy.types.Scene.BoolProperty( attr="unrealexportpsa",
+bpy.types.Scene.unrealexportpsa = BoolProperty(
name="bool export psa",
description="bool for exporting this psa format",
default=False)