]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Reverting to 1.9.14.2.14.2 revision
authorouv <ouv@opencascade.com>
Tue, 21 Apr 2009 07:24:08 +0000 (07:24 +0000)
committerouv <ouv@opencascade.com>
Tue, 21 Apr 2009 07:24:08 +0000 (07:24 +0000)
src/GLViewer/GLViewer_Viewer2d.cxx

index 9a6698d48600e5df7e2d77d2502f1e122f485d97..d9b2bbec354ad881bca1a0561899c52e07c1a5a5 100644 (file)
@@ -178,8 +178,7 @@ void GLViewer_Viewer2d::updateBorders()
         {
             GLViewer_Object* anObject = *it;
             GLViewer_Rect* aRect = anObject->getRect();
-            if( !anObject->isScalable() || !anObject->getVisible() ||
-                anObject->getOwner() && !anObject->getOwner()->getVisible() )
+            if( !anObject->isScalable() || !anObject->getVisible() )
                 continue;
 
             if( border->isEmpty() )