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

compute max_fov when auto_max_fov button pressed

parent 26cacb9d
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -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){