From 76a3146b70615440194805331bf09ead9c281696 Mon Sep 17 00:00:00 2001 From: aothms Date: Fri, 29 Jan 2016 15:25:18 +0100 Subject: [PATCH] Fix one statement deleted too much in https://github.com/IfcOpenShell/IfcOpenShell/commit/f3af39546be9ecd485737ff0954cfb92807fca1d --- src/ifcconvert/SvgSerializer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ifcconvert/SvgSerializer.cpp b/src/ifcconvert/SvgSerializer.cpp index 310750ee73..2b24512515 100644 --- a/src/ifcconvert/SvgSerializer.cpp +++ b/src/ifcconvert/SvgSerializer.cpp @@ -218,6 +218,8 @@ void SvgSerializer::write(const IfcGeom::BRepElement* o) { gp_GTrsf gtrsf = it->Placement(); const gp_Trsf& o_trsf = o->transformation().data(); + gtrsf.PreMultiply(o_trsf); + const TopoDS_Shape& s = it->Shape(); bool trsf_valid = false;