From bb9be861c84eec268bb909bffd4575baf7e0de4c Mon Sep 17 00:00:00 2001 From: Gorgious56 Date: Thu, 2 Jan 2025 14:32:29 +0100 Subject: [PATCH] Fix blend file being saved twice in a row with CTRL-S This caused a noticeable hiccup when a large file is saved twice on a network drive. Also it messed up the backup system. --- src/bonsai/bonsai/bim/module/project/operator.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/bonsai/bonsai/bim/module/project/operator.py b/src/bonsai/bonsai/bim/module/project/operator.py index da45c1756e..99c3ff0c08 100644 --- a/src/bonsai/bonsai/bim/module/project/operator.py +++ b/src/bonsai/bonsai/bim/module/project/operator.py @@ -1419,9 +1419,6 @@ class ExportIFC(bpy.types.Operator): f'IFC Project "{os.path.basename(output_file)}" {"" if not save_blend_file else "And Current Blend File Are"} Saved', ) - if bpy.data.is_saved: - bpy.ops.wm.save_mainfile("INVOKE_DEFAULT") - @classmethod def description(cls, context, properties): if properties.should_save_as: