diff --git a/src/ifcgeom/mapping/IfcExtrudedAreaSolidTapered.cpp b/src/ifcgeom/mapping/IfcExtrudedAreaSolidTapered.cpp index b33894a4b6..45ad6c3009 100644 --- a/src/ifcgeom/mapping/IfcExtrudedAreaSolidTapered.cpp +++ b/src/ifcgeom/mapping/IfcExtrudedAreaSolidTapered.cpp @@ -42,6 +42,9 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcExtrudedAreaSolidTapered* in taxonomy::cast(map(inst->EndSweptArea())) }; + if (!loft->children.back()->matrix) { + loft->children.back()->matrix = taxonomy::make(); + } auto old = loft->children.back()->matrix->ccomponents(); loft->children.back()->matrix->components() = old * end_profile;