Salome HOME
The local selection restore for a feature vertex (it is checked on the line feature)
[modules/shaper.git] / src / XGUI / XGUI_SelectionMgr.cpp
index 0cdaecf9ba94fdd830f7faefff3d03f0855f22c4..94c8462678eb96a170794f0b2afc83cf2dc4606c 100644 (file)
@@ -41,11 +41,12 @@ void XGUI_SelectionMgr::connectViewers()
 }
 
 //**************************************************************
-void XGUI_SelectionMgr::setSelectedOwners(const SelectMgr_IndexedMapOfOwner& theSelectedOwners)
+void XGUI_SelectionMgr::setSelectedOwners(const SelectMgr_IndexedMapOfOwner& theSelectedOwners,
+                                          bool isUpdateViewer)
 {
   Handle(AIS_InteractiveContext) aContext = myWorkshop->viewer()->AISContext();
   for  (Standard_Integer i = 1, n = theSelectedOwners.Extent(); i <= n; i++)  {
-    aContext->AddOrRemoveSelected(theSelectedOwners(i), false);
+    aContext->AddOrRemoveSelected(theSelectedOwners(i), isUpdateViewer);
   }
 }