From ecac7fdf742ec9ab805c51855121a14aad87d9f1 Mon Sep 17 00:00:00 2001 From: mzn Date: Fri, 22 Sep 2006 13:42:24 +0000 Subject: [PATCH] Fix for bug PAL13466(Wrong multiple selection processing in the OCC viewer). --- src/OCCViewer/OCCViewer_ViewModel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.39.2