X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=blender%2Fio_mspgl%2F__init__.py;h=3ce60c4c0a91864b9001eaeda21b95eba942be75;hp=f0cb6579266c6ecdf1850676c36689934137eabe;hb=569abc900f42d8e7b70520e2c9ef8a5547878266;hpb=6a832fe1771f8c7bca0faa0d383fbbab062a1c56 diff --git a/blender/io_mspgl/__init__.py b/blender/io_mspgl/__init__.py index f0cb6579..3ce60c4c 100644 --- a/blender/io_mspgl/__init__.py +++ b/blender/io_mspgl/__init__.py @@ -98,6 +98,7 @@ class ExportMspGLAnimation(bpy.types.Operator, ExportMspGLBase): export_all = bpy.props.BoolProperty(name="Export all animations", description="Export all animations present on the selected objects' NLA tracks") collection = bpy.props.BoolProperty(name="As a collection", description="Export the animations as a single collection file", default=True) + looping_threshold = bpy.props.FloatProperty(name="Looping threshold", description="Tolerance for curve beginning and end values for looping", min=0.0, soft_max=1.0, precision=4, default=0.001) def check(self, context): result = False @@ -122,6 +123,7 @@ class ExportMspGLAnimation(bpy.types.Operator, ExportMspGLBase): col.prop(self, "export_all") if self.export_all: col.prop(self, "collection") + col.prop(self, "looping_threshold") class ExportMspGLScene(bpy.types.Operator, ExportMspGLBase): bl_idname = "export_scene.mspgl_scene"