]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
0004306: Restoring visual state for two GL views CTH_2_2_2 CTH_2_2_3
authorouv <oleg.uvarov@opencascade.com>
Wed, 20 Dec 2017 16:02:44 +0000 (19:02 +0300)
committerouv <oleg.uvarov@opencascade.com>
Wed, 20 Dec 2017 16:02:44 +0000 (19:02 +0300)
src/GLViewer/GLViewer_Widget.cxx

index 165d910a7d125299b14777149dad0189b265f7d3..4233cf2807e0784b07164e0880eb46048ee36153 100644 (file)
@@ -498,7 +498,9 @@ void GLViewer_Widget::resizeGL( int w, int h )
   {
     myWidth = w;
     myHeight = h;
-    myViewPort->fitAll();
+    // The line below has been commented because it seems to be useless and
+    // leads to the bug "0004306: Restoring visual state for two GL views".
+    //myViewPort->fitAll();
     myStart = GL_FALSE;
   }