Minor fix

This commit is contained in:
Dion Moult
2023-03-03 22:27:47 +11:00
parent 51ff2f05bf
commit 2e3e0bef12
@@ -197,7 +197,7 @@ class EnablePsetEditing(bpy.types.Operator):
setattr(new, data_type, enum)
new.is_selected = enum in selected_enum_items
else:
if prop.is_a() in ("IfcSimplePropertyTemplate", "IfcPropertySingleValue"):
if prop.is_a("IfcPropertySingleValue"):
value = prop.NominalValue.wrappedValue
elif prop.is_a("IfcPhysicalSimpleQuantity"):
value = prop[3]