Commit 1621788e authored by Luis Penaranda's avatar Luis Penaranda

compute max_fov when auto_max_fov button pressed

parent 26cacb9d
...@@ -85,6 +85,7 @@ void OpenGLCanvas::change_fov(double f){ ...@@ -85,6 +85,7 @@ void OpenGLCanvas::change_fov(double f){
void OpenGLCanvas::automaxbutton(bool autovalue){ void OpenGLCanvas::automaxbutton(bool autovalue){
auto_fov_max=autovalue; auto_fov_max=autovalue;
change_fov_max(compute_auto_fov_max(fov));
} }
void OpenGLCanvas::change_fov(int new_fov){ void OpenGLCanvas::change_fov(int new_fov){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment