From b1154ae377c3c1163eec307786c0fb05efc56e1f Mon Sep 17 00:00:00 2001 From: CyrilWaechter Date: Tue, 14 Feb 2023 09:22:20 +0100 Subject: [PATCH] Adapt to code changes introduced in ea91f43 --- src/blenderbim/blenderbim/bim/module/boundary/operator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blenderbim/blenderbim/bim/module/boundary/operator.py b/src/blenderbim/blenderbim/bim/module/boundary/operator.py index a51bc78c3c..34754503a2 100644 --- a/src/blenderbim/blenderbim/bim/module/boundary/operator.py +++ b/src/blenderbim/blenderbim/bim/module/boundary/operator.py @@ -58,7 +58,7 @@ class Loader: try: shape = ifcopenshell.geom.create_shape(self.settings, surface) mesh = self.ifc_importer.create_mesh(None, shape) - self.ifc_importer.link_mesh(shape, mesh) + tool.Loader.link_mesh(shape, mesh) except RuntimeError: # Fallback solution for invalid geometry provided by Revit. (InnerBoundaries cuting OuterBoundary) print(f"Failed to create mesh from IfcRelSpaceBoundary with ID {boundary.id()}. Geometry might be invalid")