X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=blender%2Fio_mspgl%2F__init__.py;h=4c5fa8c22ce735f4322396ed01e120ee0827e14e;hp=43a3fac8f691270bae32a61bd9447bd2059ad5ef;hb=8cea7c616aa74f2bb23d41ece5e4ef1f59f9e4b4;hpb=7ffc6b595b9c8405d1044f8a4d4d3098392e13fa diff --git a/blender/io_mspgl/__init__.py b/blender/io_mspgl/__init__.py index 43a3fac8..4c5fa8c2 100644 --- a/blender/io_mspgl/__init__.py +++ b/blender/io_mspgl/__init__.py @@ -134,6 +134,7 @@ class ExportMspGLScene(bpy.types.Operator, ExportMspGLBase): selected_only = bpy.props.BoolProperty(name="Selected objects only", description="Only export the selected objects") active_layers = bpy.props.BoolProperty(name="Active layers only", description="Only export objects on the active layers", default=True) resource_collection = bpy.props.BoolProperty(name="Resource collection", description="Put resources to a single collection file", default=True) + skip_existing = bpy.props.BoolProperty(name="Skip existing files", description="Skip resources that already exist as files", default=True) def create_exporter(self): from .export_scene import SceneExporter @@ -144,6 +145,8 @@ class ExportMspGLScene(bpy.types.Operator, ExportMspGLBase): col.prop(self, "selected_only") col.prop(self, "active_layers") col.prop(self, "resource_collection") + if self.resource_collection: + col.prop(self, "skip_existing") class ExportMspGLCamera(bpy.types.Operator, ExportMspGLBase): bl_idname = "export.mspgl_camera"