From: Mikko Rasa Date: Mon, 12 Apr 2021 00:33:37 +0000 (+0300) Subject: Fix refactoring errors in scene exporter X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=888bbef1f510eece3b37d7a0022d2757bf3b085d;p=libs%2Fgl.git Fix refactoring errors in scene exporter --- diff --git a/blender/io_mspgl/export_scene.py b/blender/io_mspgl/export_scene.py index bec779cc..16435e8f 100644 --- a/blender/io_mspgl/export_scene.py +++ b/blender/io_mspgl/export_scene.py @@ -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):