From 51f8d648ad8cfc4469e0f6d4eb20111f4b2970ec Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Wed, 10 Nov 2021 21:01:06 +1100 Subject: [PATCH] Minor fix --- src/blenderbim/blenderbim/bim/ifc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blenderbim/blenderbim/bim/ifc.py b/src/blenderbim/blenderbim/bim/ifc.py index bb4c20855f..b3dc831f4d 100644 --- a/src/blenderbim/blenderbim/bim/ifc.py +++ b/src/blenderbim/blenderbim/bim/ifc.py @@ -94,8 +94,8 @@ class IfcStore: ifc_key = IfcStore.path + IfcStore.file.wrapped_data.header.file_name.time_stamp ifc_hash = hashlib.md5(ifc_key.encode("utf-8")).hexdigest() new_cache_path = os.path.join(bpy.context.scene.BIMProperties.data_dir, "cache", f"{ifc_hash}.h5") - os.replace(IfcStore.cache_path, new_cache_path) IfcStore.cache = None + os.replace(IfcStore.cache_path, new_cache_path) IfcStore.get_cache() @staticmethod