diff --git a/openglcanvas.cpp b/openglcanvas.cpp index 29745b2f7f42ad5ec524d6887ff21173d06dd4ce..6b69bd39e8404ffd3961d6fd4106ecd4a23b9726 100644 --- a/openglcanvas.cpp +++ b/openglcanvas.cpp @@ -193,10 +193,10 @@ void OpenGLCanvas::change_fov_scale_relation(QString name){ } void OpenGLCanvas::change_visualization(QString name){ - - visualization = name; + visualization=name; + if(!shrink_for_all && visualization!="Moebius" && visualization!="3D Sphere") + scale=1.f; updateGL(); - } // This function reads the contents of the ~/.panorc file and stores the