mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-02 04:59:52 +00:00
Geometry caching is now enabled for model importing
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user