From 888bbef1f510eece3b37d7a0022d2757bf3b085d Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 12 Apr 2021 03:33:37 +0300 Subject: [PATCH] Fix refactoring errors in scene exporter --- blender/io_mspgl/export_scene.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.45.2