bim.export_cost_schedules - fix bug with overridden prop value

E.g. if you would call this operator for 1 specific cost schedule, Blender would remember it's value and would keep on using it even if operator is going to be called outside this schedule
This commit is contained in:
Andrej730
2025-04-17 18:48:16 +05:00
parent 016cfa94d2
commit c5f4b53555
@@ -690,7 +690,7 @@ class ExportCostSchedules(bpy.types.Operator, ExportHelper):
bl_options = {"REGISTER", "UNDO"}
bl_description = "Export current/all cost schedules as CSV, XSLX or ODS files to the provided directory."
cost_schedule: bpy.props.IntProperty()
cost_schedule: bpy.props.IntProperty(options={"SKIP_SAVE"})
format: bpy.props.EnumProperty(name="Format", items=(("CSV", "CSV", ""), ("XLSX", "XLSX", ""), ("ODS", "ODS", "")))
directory: bpy.props.StringProperty(subtype="FILE_PATH")
filter_folder: bpy.props.BoolProperty(