Menu anim export option, minor reorg

This commit is contained in:
Will Snyder
2020-10-16 13:56:03 -05:00
parent 1bf6b6f9ab
commit ff3a517312
6 changed files with 98 additions and 40 deletions

View File

@@ -97,14 +97,24 @@ class ExportMSH(Operator, ExportHelper):
default=True
)
export_anims: BoolProperty(
name="Export Animations",
description="Action export test",
default=False
)
def execute(self, context):
with open(self.filepath, 'wb') as output_file:
save_scene(
output_file=output_file,
scene=create_scene(
generate_triangle_strips=self.generate_triangle_strips,
apply_modifiers=self.apply_modifiers,
export_target=self.export_target))
export_target=self.export_target),
separate_anims=self.export_anims
)
return {'FINISHED'}