Fix bug where module data was not purged correctly when a new scene was started

This commit is contained in:
Dion Moult
2021-07-27 20:45:21 +10:00
parent 1f241912f2
commit 5d246a8716
+1 -1
View File
@@ -123,12 +123,12 @@ def purge_module_data():
@persistent
def loadIfcStore(scene):
IfcStore.purge()
purge_module_data()
ifc_file = IfcStore.get_file()
if not ifc_file:
return
IfcStore.get_schema()
IfcStore.reload_linked_elements()
purge_module_data()
@persistent