src/parser.cpp

changeset 21
0133e565e072
parent 18
918b6c0f8b5b
child 23
3387a84ddaba
--- a/src/parser.cpp	Sat Dec 14 23:00:01 2019 +0200
+++ b/src/parser.cpp	Wed Jan 01 17:45:56 2020 +0200
@@ -350,7 +350,7 @@
 	const Point3D position = vertexFromStrings(tokens, positionPosition);
 	const Matrix3x3 transform = matrixFromStrings(tokens, transformPosition);
 	const QString& name = tokens[namePosition];
-	return std::make_unique<linetypes::SubfileReference>(position, transform, name, color);
+	return std::make_unique<linetypes::SubfileReference>(combine(transform, position), name, color);
 }
 
 template<typename T, int NumVertices>

mercurial