src/glcamera.cpp

changeset 1324
563a9b65777b
parent 1319
39d7a9642eea
child 1326
69a90bd2dba2
--- a/src/glcamera.cpp	Sat Mar 24 12:34:20 2018 +0200
+++ b/src/glcamera.cpp	Sat Mar 24 12:46:40 2018 +0200
@@ -111,8 +111,8 @@
 			cy = snapped.y();
 		}
 
-		roundToDecimals(cx, 4);
-		roundToDecimals(cy, 4);
+		cx = roundToDecimals(cx, 4);
+		cy = roundToDecimals(cy, 4);
 
 		// Create the vertex from the coordinates
 		position3d.setCoordinate(axisX(), cx * signX);

mercurial