Fix bug where you couldn't delete a quantity from a quantity set

This commit is contained in:
Dion Moult
2021-06-07 15:52:23 +10:00
parent 6a0562d00a
commit f3c1d1df31
2 changed files with 9 additions and 3 deletions
@@ -192,6 +192,9 @@ class EditPset(bpy.types.Operator):
},
)
else:
for key, value in properties.items():
if isinstance(value, float):
properties[key] = round(value, 4)
ifcopenshell.api.run(
"pset.edit_qto",
self.file,