]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
[EDF] GEOM : all objects of the Object Browser list hidden when hide one V9_3_0a2
authorrnv <rnv@opencascade.com>
Wed, 6 Mar 2019 09:18:53 +0000 (12:18 +0300)
committerrnv <rnv@opencascade.com>
Wed, 6 Mar 2019 09:18:53 +0000 (12:18 +0300)
src/OCCViewer/OCCViewer_ViewModel.cxx

index 1b680e5efe7d662849f5728fef252223298cbabe..2c3f55631211992d4102bd4a9afbf41a5821b16f 100644 (file)
@@ -1165,6 +1165,12 @@ bool OCCViewer_Viewer::unHighlightAll( bool updateviewer, bool unselect )
       myAISContext->UnhilightSelected( updateviewer );
     }
 #if OCC_VERSION_LARGE <= 0x07030000
+  } else {
+   if ( unselect ) {
+      myAISContext->ClearCurrents( updateviewer );
+    } else {
+      myAISContext->UnhilightCurrents( updateviewer );
+    }
   }
 #endif
   return false;