]> git.tdb.fi Git - libs/gl.git/blobdiff - blender/io_mspgl/__init__.py
Rename visible_collections to visible_only
[libs/gl.git] / blender / io_mspgl / __init__.py
index 8de91d25a7ddb91b795c9c53daed4387df9a41db..13375e2426795d4995e1505987210dd3c4f75476 100644 (file)
@@ -111,7 +111,7 @@ class ExportMspGLScene(bpy.types.Operator, ExportMspGLBase):
        filename_ext = ".scene"
 
        selected_only: bpy.props.BoolProperty(name="Selected objects only", description="Only export the selected objects")
-       visible_collections: bpy.props.BoolProperty(name="Visible collections only", description="Only export objects in visible collections", default=True)
+       visible_only: bpy.props.BoolProperty(name="Visible only", description="Only export objects in visible collections", 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)
 
@@ -122,7 +122,7 @@ class ExportMspGLScene(bpy.types.Operator, ExportMspGLBase):
        def draw(self, context):
                col = self.layout.column()
                col.prop(self, "selected_only")
-               col.prop(self, "visible_collections")
+               col.prop(self, "visible_only")
                col.prop(self, "resource_collection")
                if self.resource_collection:
                        col.prop(self, "skip_existing")