src/editmodes/circleMode.cpp

changeset 1392
0541d9b21968
parent 1390
3eace926af7f
child 1399
f52ea4078f5d
--- a/src/editmodes/circleMode.cpp	Mon Jun 04 23:12:40 2018 +0300
+++ b/src/editmodes/circleMode.cpp	Mon Jun 04 23:22:52 2018 +0300
@@ -60,6 +60,7 @@
 	return 0.0;
 }
 
+#if 0
 static Matrix shearMatrixForPlane(Canvas* renderer)
 {
 	const Plane& plane = renderer->drawPlane();
@@ -82,6 +83,7 @@
 
 	return shearMatrix;
 }
+#endif
 
 void CircleMode::endDraw()
 {
@@ -137,9 +139,8 @@
 	else
 	{
 		// Ring finder failed, last resort: draw the ring with quads
-		Axis localx, localy, localz;
+		Axis localx, localy;
 		renderer()->getRelativeAxes (localx, localy);
-		localz = (Axis) (3 - localx - localy);
 		double x0 = m_drawedVerts[0][localx];
 		double y0 = m_drawedVerts[0][localy];
 

mercurial