Fix bug where numerical tolerance caused certain objects to be unnecessarily updated.

This commit is contained in:
Dion Moult
2023-04-28 22:15:09 +10:00
parent adf54efcc5
commit 3b69a4cc78
+1 -1
View File
@@ -317,7 +317,7 @@ class Geometry(blenderbim.core.tool.Geometry):
@classmethod
def is_edited(cls, obj):
return list(obj.scale) != [1.0, 1.0, 1.0] or obj in IfcStore.edited_objs
return not all([tool.Cad.is_x(o, 1.0) for o in obj.scale]) or obj in IfcStore.edited_objs
@classmethod
def is_mapped_representation(cls, representation):