mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 22:50:21 +00:00
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:
@@ -690,7 +690,7 @@ class ExportCostSchedules(bpy.types.Operator, ExportHelper):
|
|||||||
bl_options = {"REGISTER", "UNDO"}
|
bl_options = {"REGISTER", "UNDO"}
|
||||||
bl_description = "Export current/all cost schedules as CSV, XSLX or ODS files to the provided directory."
|
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", "")))
|
format: bpy.props.EnumProperty(name="Format", items=(("CSV", "CSV", ""), ("XLSX", "XLSX", ""), ("ODS", "ODS", "")))
|
||||||
directory: bpy.props.StringProperty(subtype="FILE_PATH")
|
directory: bpy.props.StringProperty(subtype="FILE_PATH")
|
||||||
filter_folder: bpy.props.BoolProperty(
|
filter_folder: bpy.props.BoolProperty(
|
||||||
|
|||||||
Reference in New Issue
Block a user