Geometry caching is now enabled for model importing

This commit is contained in:
Dion Moult
2021-11-10 13:52:14 +11:00
parent c1c50f8868
commit 0992f43f11
10 changed files with 51 additions and 13 deletions
@@ -34,6 +34,10 @@ class Geometry(blenderbim.core.tool.Geometry):
else:
obj.data = data
@classmethod
def clear_cache(cls, element):
IfcStore.get_cache().remove(element.GlobalId)
@classmethod
def clear_modifiers(cls, obj):
for modifier in obj.modifiers: