src/editmodes/circleMode.cpp

changeset 1045
f726f8f49c7e
parent 1030
d931a7547578
child 1053
2a48c0fff107
--- a/src/editmodes/circleMode.cpp	Tue Nov 15 13:52:44 2016 +0200
+++ b/src/editmodes/circleMode.cpp	Tue Nov 15 17:12:50 2016 +0200
@@ -127,7 +127,7 @@
 			refFile = primitives()->getPrimitive(spec);
 			LDSubfileReference* ref = LDSpawn<LDSubfileReference>();
 			ref->setFileInfo (refFile);
-			ref->setTransform (getCircleDrawMatrix (cmp.scale));
+			ref->setTransformationMatrix (getCircleDrawMatrix (cmp.scale));
 			ref->setPosition (m_drawedVerts[0]);
 			ref->setColor (MainColor);
 			objs << ref;
@@ -180,7 +180,7 @@
 	{
 		LDSubfileReference* ref = LDSpawn<LDSubfileReference>();
 		ref->setFileInfo (refFile);
-		ref->setTransform (transform);
+		ref->setTransformationMatrix (transform);
 		ref->setPosition (m_drawedVerts[0]);
 		ref->setColor (MainColor);
 		objs << ref;
@@ -326,4 +326,4 @@
 int CircleMode::maxVertices() const
 {
 	return 3;
-}
\ No newline at end of file
+}

mercurial