src/parser.cpp

changeset 1405
d2bf2e59a3ef
parent 1403
7a2d84112983
child 1407
22bc5862cb56
--- a/src/parser.cpp	Sun Jun 17 13:57:00 2018 +0300
+++ b/src/parser.cpp	Sun Jun 17 14:06:03 2018 +0300
@@ -384,7 +384,7 @@
 
 				Vertex displacement = parseVertex (tokens, 2);  // 2 - 4
 				QMatrix4x4 matrix;
-				matrix.translate(displacement.x, displacement.y, displacement.z);
+				matrix.translate(displacement.toVector());
 				QString referenceName = tokens[14];
 
 				for (int i = 0; i < 9; ++i)

mercurial