]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/XGUI/XGUI_SelectionMgr.cpp
Salome HOME
Correction for additional debug information
[modules/shaper.git] / src / XGUI / XGUI_SelectionMgr.cpp
index b4a2bbc5ffb7ba4a89c91ebe730698154dd02757..894198d3dc5e0a8ddd4ea0e7baa5d238c35af70b 100755 (executable)
 
 #include <SelectMgr_ListIteratorOfListOfFilter.hxx>
 
+#ifdef VINSPECTOR
+#include <VInspectorAPI_CallBack.h>
+#endif
+
 XGUI_SelectionMgr::XGUI_SelectionMgr(XGUI_Workshop* theParent)
     : QObject(theParent),
       myWorkshop(theParent)
@@ -63,6 +67,10 @@ void XGUI_SelectionMgr::setSelectedOwners(const SelectMgr_IndexedMapOfOwner& the
         continue;
 
       aContext->AddOrRemoveSelected(anOwner, isUpdateViewer);
+      #ifdef VINSPECTOR
+      if (myWorkshop->displayer()->getCallBack())
+        myWorkshop->displayer()->getCallBack()->AddOrRemoveSelected(anOwner);
+      #endif
     }
   }
   ModuleBase_Tools::selectionInfo(aContext,