mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 10:57:49 +00:00
Fix bug where lag times couldn't be edited
This commit is contained in:
@@ -1681,6 +1681,10 @@ class EnableEditingSequenceTimeLag(bpy.types.Operator):
|
||||
|
||||
def import_attributes(self, name, prop, data):
|
||||
if name == "LagValue":
|
||||
prop = self.props.time_lag_attributes.add()
|
||||
prop.name = name
|
||||
prop.is_null = data[name] is None
|
||||
prop.is_optional = False
|
||||
if isinstance(data[name], isodate.Duration):
|
||||
prop.data_type = "string"
|
||||
prop.string_value = (
|
||||
|
||||
Reference in New Issue
Block a user