From db50c87bf4d0c1ed3a631337ecbe1651147959d8 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Fri, 28 Jun 2024 13:38:56 +0200 Subject: [PATCH] Fixed collections not being geom_items in mapped item handling --- src/ifcgeom/mapping/IfcMappedItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcgeom/mapping/IfcMappedItem.cpp b/src/ifcgeom/mapping/IfcMappedItem.cpp index e13bf486f8..acf97aef3a 100644 --- a/src/ifcgeom/mapping/IfcMappedItem.cpp +++ b/src/ifcgeom/mapping/IfcMappedItem.cpp @@ -31,7 +31,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcMappedItem* inst) { // @todo immutable for caching? // @todo allow for multiple levels of matrix? - auto shapes = taxonomy::cast(map(rmap->MappedRepresentation())); + auto shapes = taxonomy::dcast(map(rmap->MappedRepresentation())); if (shapes == nullptr) { return shapes; }