]> git.tdb.fi Git - libs/gl.git/commitdiff
Fix refactoring errors in scene exporter
authorMikko Rasa <tdb@tdb.fi>
Mon, 12 Apr 2021 00:33:37 +0000 (03:33 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 12 Apr 2021 00:33:37 +0000 (03:33 +0300)
blender/io_mspgl/export_scene.py

index bec779cc9097a9f0256c2df6b9cb45f51a30d1e6..16435e8f1b487ea089fad5edcdc42092709c677e 100644 (file)
@@ -77,7 +77,7 @@ class SceneExporter:
                        filter = None
                        if self.skip_existing:
                                filter = lambda r: not os.path.exists(os.path.join(path, r.name))
-                       scene_res.write_collection(os.path.join(path, base+"_resources.mdc"), exclude=self=True, filter)
+                       scene_res.write_collection(os.path.join(path, base+"_resources.mdc"), exclude_self=True, filter=filter)
                else:
                        res_dir = os.path.join(path, base+"_resources")
                        if not os.path.exists(res_dir):