diff --git a/openglcanvas.cpp b/openglcanvas.cpp index 3d84d12ebca8a6ab1c2b3ae70300db1416da1389..8dd0a965a36c96397b924576b29d3ef23e6682b7 100644 --- a/openglcanvas.cpp +++ b/openglcanvas.cpp @@ -547,7 +547,7 @@ void OpenGLCanvas::define_triangle_indices(unsigned int * indices, int m, int n) int OpenGLCanvas::compute_auto_fov_max(int new_fov){ if(new_fov<60) return 60; - if(new_fov>180) + if(new_fov>179) return 1; //if(new_fov>60) return (90-new_fov/2);