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.
This commit is contained in:
Gorgious56
2025-01-02 14:32:29 +01:00
parent ad815b697e
commit bb9be861c8
@@ -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: