From 00215867c06269b28a11acffb32baa730812a728 Mon Sep 17 00:00:00 2001 From: Carmen Fan Date: Sun, 6 Nov 2016 15:18:30 +0000 Subject: [PATCH] Fix matrix multiplication ordering for nested mapped items (#144) --- src/ifcgeom/IfcGeomShapes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcgeom/IfcGeomShapes.cpp b/src/ifcgeom/IfcGeomShapes.cpp index d7f479afd5..70977a4143 100644 --- a/src/ifcgeom/IfcGeomShapes.cpp +++ b/src/ifcgeom/IfcGeomShapes.cpp @@ -724,7 +724,7 @@ bool IfcGeom::Kernel::convert(const IfcSchema::IfcMappedItem* l, IfcRepresentati bool b = convert_shapes(map->MappedRepresentation(), shapes); for (size_t i = previous_size; i < shapes.size(); ++ i ) { - shapes[i].append(gtrsf); + shapes[i].prepend(gtrsf); // Apply styles assigned to the mapped item only if on // a more granular level no styles have been applied