Replace .wrapped_data.header with .header (dfaa8d5)

This commit is contained in:
Andrej730
2025-09-15 16:47:09 +05:00
parent a3c6e295c8
commit cc7732ecbf
9 changed files with 35 additions and 35 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ class IfcStore:
def generate_cache_path() -> str:
"""Generate cache path based on the active file and it's path."""
assert IfcStore.file
ifc_key = IfcStore.path + IfcStore.file.wrapped_data.header.file_name.time_stamp
ifc_key = IfcStore.path + IfcStore.file.header.file_name.time_stamp
ifc_hash = hashlib.md5(ifc_key.encode("utf-8")).hexdigest()
prefs = tool.Blender.get_addon_preferences()
cache_path = os.path.join(prefs.cache_dir, f"{ifc_hash}.h5")