]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix for bug PAL13466(Wrong multiple selection processing in the OCC viewer).
authormzn <mzn@opencascade.com>
Fri, 22 Sep 2006 13:42:24 +0000 (13:42 +0000)
committermzn <mzn@opencascade.com>
Fri, 22 Sep 2006 13:42:24 +0000 (13:42 +0000)
src/OCCViewer/OCCViewer_ViewModel.cxx

index 61d8ea446d5eff8e483413f4de80956c2cf94bca..2cba6871c84347b5508bdf0531b8297fa1c89a6b 100755 (executable)
@@ -358,7 +358,7 @@ void OCCViewer_Viewer::setObjectsSelected(const AIS_ListOfInteractive& theList)
 {
   AIS_ListIteratorOfListOfInteractive aIt;
   for (aIt.Initialize(theList); aIt.More(); aIt.Next())
-    myAISContext->SetSelected(aIt.Value(), false);
+    myAISContext->AddOrRemoveSelected(aIt.Value(), false);
   myAISContext->UpdateCurrentViewer();
 }