From 6e2e01b460a872d9c9ffd37ba315316f4ab82619 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Mon, 30 Sep 2024 12:30:34 +0200 Subject: [PATCH] Fix incomplete swept surface mapping #5484 --- src/ifcgeom/mapping/IfcSurfaceOfLinearExtrusion.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ifcgeom/mapping/IfcSurfaceOfLinearExtrusion.cpp b/src/ifcgeom/mapping/IfcSurfaceOfLinearExtrusion.cpp index f16df01ee8..f44939a6de 100644 --- a/src/ifcgeom/mapping/IfcSurfaceOfLinearExtrusion.cpp +++ b/src/ifcgeom/mapping/IfcSurfaceOfLinearExtrusion.cpp @@ -22,7 +22,6 @@ using namespace ifcopenshell::geometry; taxonomy::ptr mapping::map_impl(const IfcSchema::IfcSurfaceOfLinearExtrusion* inst) { - return nullptr; taxonomy::matrix4::ptr matrix; bool has_position = true; #ifdef SCHEMA_IfcSweptAreaSolid_Position_IS_OPTIONAL @@ -34,7 +33,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcSurfaceOfLinearExtrusion* in return taxonomy::make( matrix, - taxonomy::cast(map(inst->SweptCurve())), + map(inst->SweptCurve()), taxonomy::cast(map(inst->ExtrudedDirection())), std::numeric_limits::infinity() );