Skip to content
Snippets Groups Projects
Commit a0cc8a24 authored by Thomas Dinges's avatar Thomas Dinges
Browse files

More fixes for API changes.

parent f1133b1e
Branches
Tags
No related merge requests found
...@@ -1432,33 +1432,32 @@ exporttypedata.append(("0","PSK","Export PSK")) ...@@ -1432,33 +1432,32 @@ exporttypedata.append(("0","PSK","Export PSK"))
exporttypedata.append(("1","PSA","Export PSA")) exporttypedata.append(("1","PSA","Export PSA"))
exporttypedata.append(("2","ALL","Export ALL")) exporttypedata.append(("2","ALL","Export ALL"))
IntProperty= bpy.types.Scene.IntProperty bpy.types.Scene.unrealfpsrate = IntProperty(
name="fps rate",
IntProperty(attr="unrealfpsrate", name="fps rate",
description="Set the frame per second (fps) for unreal.", description="Set the frame per second (fps) for unreal.",
default=24,min=1,max=100) default=24,min=1,max=100)
bpy.types.Scene.EnumProperty( attr="unrealexport_settings", bpy.types.Scene.unrealexport_settings = EnumProperty(
name="Export:", name="Export:",
description="Select a export settings (psk/psa/all)...", description="Select a export settings (psk/psa/all)...",
items = exporttypedata, default = '0') items = exporttypedata, default = '0')
bpy.types.Scene.BoolProperty( attr="unrealtriangulatebool", bpy.types.Scene.unrealtriangulatebool = BoolProperty(
name="Triangulate Mesh", name="Triangulate Mesh",
description="Convert Quad to Tri Mesh Boolean...", description="Convert Quad to Tri Mesh Boolean...",
default=False) default=False)
bpy.types.Scene.BoolProperty( attr="unrealactionexportall", bpy.types.Scene.unrealactionexportall = BoolProperty(
name="All Actions", name="All Actions",
description="This let you export all actions from current armature.[Not Build Yet]", description="This let you export all actions from current armature.[Not Build Yet]",
default=False) default=False)
bpy.types.Scene.BoolProperty( attr="unrealexportpsk", bpy.types.Scene.unrealexportpsk = BoolProperty(
name="bool export psa", name="bool export psa",
description="bool for exporting this psk format", description="bool for exporting this psk format",
default=False) default=False)
bpy.types.Scene.BoolProperty( attr="unrealexportpsa", bpy.types.Scene.unrealexportpsa = BoolProperty(
name="bool export psa", name="bool export psa",
description="bool for exporting this psa format", description="bool for exporting this psa format",
default=False) default=False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment