mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-07 04:46:25 +00:00
Fix errors initializing hdf5 cache #4832
This commit is contained in:
@@ -113,8 +113,9 @@ class BlenderImporter:
|
||||
|
||||
def get_cache(self):
|
||||
cache_settings = ifcopenshell.geom.settings()
|
||||
serializer_settings = ifcopenshell.geom.serializer_settings()
|
||||
try:
|
||||
return ifcopenshell.geom.serializers.hdf5(self.cache_path, cache_settings)
|
||||
return ifcopenshell.geom.serializers.hdf5(self.cache_path, cache_settings, serializer_settings)
|
||||
except:
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user