See #4796. Fix issue where orphaned aggregate is never shown when loading IFC.

This commit is contained in:
Dion Moult
2024-06-04 12:31:00 +10:00
parent b68109d32b
commit b3dcfbf0dc
@@ -1702,6 +1702,7 @@ class IfcImporter:
if aggregate["element"].is_a("IfcElementType"):
self.type_collection.children.link(aggregate["collection"])
continue
self.project["blender"].children.link(aggregate["collection"])
def create_materials(self) -> None:
for material in self.file.by_type("IfcMaterial"):