src/glRenderer.cc

changeset 754
c37564d59ce1
parent 753
0379f6fca732
child 757
8ab9fa53142b
--- a/src/glRenderer.cc	Mon Apr 28 18:27:02 2014 +0300
+++ b/src/glRenderer.cc	Mon Apr 28 21:31:24 2014 +0300
@@ -528,8 +528,8 @@
 
 	if (snap)
 	{
-		cx = Grid::snap (cx, (Grid::Config) axisX);
-		cy = Grid::snap (cy, (Grid::Config) axisY);
+		cx = Grid::snap (cx, Grid::Coordinate);
+		cy = Grid::snap (cy, Grid::Coordinate);
 	}
 
 	cx *= negXFac;

mercurial