Fix #3712. Fix bug where grid axes couldn't be duplicated.

This commit is contained in:
Dion Moult
2023-09-06 15:11:07 +10:00
parent 0a00e529c3
commit 28eeba49ba
+1 -1
View File
@@ -46,7 +46,7 @@ class Geometry(blenderbim.core.tool.Geometry):
@classmethod
def clear_cache(cls, element):
cache = IfcStore.get_cache()
if cache:
if cache and hasattr(element, "GlobalId"):
cache.remove(element.GlobalId)
@classmethod