src/toolsets/algorithmtoolset.cpp

changeset 1045
f726f8f49c7e
parent 1028
5877e49e9a28
child 1062
4119185b56ca
--- a/src/toolsets/algorithmtoolset.cpp	Tue Nov 15 13:52:44 2016 +0200
+++ b/src/toolsets/algorithmtoolset.cpp	Tue Nov 15 17:12:50 2016 +0200
@@ -157,7 +157,7 @@
 		if (mo)
 		{
 			Vertex v = mo->position();
-			Matrix t = mo->transform();
+			Matrix t = mo->transformationMatrix();
 
 			v.apply ([&](Axis, double& a)
 			{
@@ -170,7 +170,7 @@
 			});
 
 			mo->setPosition (v);
-			mo->setTransform (t);
+			mo->setTransformationMatrix (t);
 			num += 12;
 		}
 		else
@@ -576,7 +576,7 @@
 		ref->setColor (MainColor);
 		ref->setFileInfo (doc);
 		ref->setPosition (Origin);
-		ref->setTransform (IdentityMatrix);
+		ref->setTransformationMatrix (IdentityMatrix);
 		currentDocument()->insertObject (refidx, ref);
 
 		// Refresh stuff

mercurial