--- a/src/ui/canvas.cpp Wed Jun 08 20:41:21 2022 +0300 +++ b/src/ui/canvas.cpp Wed Jun 08 22:29:44 2022 +0300 @@ -383,7 +383,7 @@ glm::vec3 Canvas::cameraVector() const { // Find out where the grid is projected on the screen - const QPoint gridOrigin2d = pointFToPoint(this->modelToScreenCoordinates(this->gridPlane.anchor)); + const QPointF gridOrigin2d = this->modelToScreenCoordinates(this->gridPlane.anchor); // Find out which direction the camera is looking at the grid origin in 3d return glm::normalize(this->cameraLine(gridOrigin2d).direction); }