mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
Minor fix
This commit is contained in:
@@ -140,6 +140,8 @@ class EditPset(bpy.types.Operator, Operator):
|
|||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
for key, value in properties.items():
|
for key, value in properties.items():
|
||||||
|
if value is None:
|
||||||
|
continue
|
||||||
if isinstance(value, float):
|
if isinstance(value, float):
|
||||||
properties[key] = round(value, 4)
|
properties[key] = round(value, 4)
|
||||||
elif not isinstance(value, int):
|
elif not isinstance(value, int):
|
||||||
|
|||||||
Reference in New Issue
Block a user