mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 15:08:51 +00:00
Improved date calculations during import and editing ensure that start / finish dates are always on working days.
This commit is contained in:
@@ -126,7 +126,7 @@ def updateTaskduration(self, context):
|
||||
)
|
||||
Data.load(IfcStore.get_file())
|
||||
if props.active_task_id == self.ifc_definition_id:
|
||||
attribute = props.task_attributes.get("Duration")
|
||||
attribute = props.task_time_attributes.get("Duration")
|
||||
attribute.string_value = self.duration
|
||||
bpy.ops.bim.load_task_properties(task=props.active_task_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user