From: mzn Date: Fri, 22 Sep 2006 13:42:24 +0000 (+0000) Subject: Fix for bug PAL13466(Wrong multiple selection processing in the OCC viewer). X-Git-Tag: V3_2_3pre1~29 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ecac7fdf742ec9ab805c51855121a14aad87d9f1;p=modules%2Fgui.git Fix for bug PAL13466(Wrong multiple selection processing in the OCC viewer). --- diff --git a/src/OCCViewer/OCCViewer_ViewModel.cxx b/src/OCCViewer/OCCViewer_ViewModel.cxx index 61d8ea446..2cba6871c 100755 --- a/src/OCCViewer/OCCViewer_ViewModel.cxx +++ b/src/OCCViewer/OCCViewer_ViewModel.cxx @@ -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(); }