src/editmodes/circleMode.cpp

changeset 1179
1a9ffd5e0399
parent 1151
0eddb5bcf25b
child 1180
2005e4147ad6
--- a/src/editmodes/circleMode.cpp	Fri Mar 03 23:08:04 2017 +0200
+++ b/src/editmodes/circleMode.cpp	Fri Mar 03 23:16:14 2017 +0200
@@ -56,7 +56,7 @@
 		renderer()->getRelativeAxes(localx, localy);
 		double dx = m_drawedVerts[0][localx] - v1[localx];
 		double dy = m_drawedVerts[0][localy] - v1[localy];
-		return grid()->snap(hypot(dx, dy), Grid::Coordinate);
+		return grid()->snap(hypot(dx, dy));
 	}
 
 	return 0.0;

mercurial