X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_SelectionMgr.cpp;h=f32ed5012b18c7180f8eab47693b092b19e3cd19;hb=176403004ff97696f3c0b5f8bdf48692177fb34a;hp=8bc012412bb24d5698abd829cfc058d8c4b1709a;hpb=e7f5fe8e1daa2d8c66f7c61bb70d8359a67378e6;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_SelectionMgr.cpp b/src/XGUI/XGUI_SelectionMgr.cpp index 8bc012412..f32ed5012 100755 --- a/src/XGUI/XGUI_SelectionMgr.cpp +++ b/src/XGUI/XGUI_SelectionMgr.cpp @@ -22,6 +22,7 @@ #include #include +#include #include @@ -64,6 +65,8 @@ void XGUI_SelectionMgr::setSelectedOwners(const SelectMgr_IndexedMapOfOwner& the aContext->AddOrRemoveSelected(anOwner, isUpdateViewer); } } + ModuleBase_Tools::selectionInfo(aContext, + "XGUI_SelectionMgr::setSelectedOwners -- AddOrRemoveSelected"); } //************************************************************** @@ -142,7 +145,8 @@ void XGUI_SelectionMgr::onViewerSelection() FeaturePtr aFeature; Handle(AIS_InteractiveContext) aContext = myWorkshop->viewer()->AISContext(); if (!aContext.IsNull()) { - QList aPresentations = selection()->getSelected(ModuleBase_ISelection::Viewer); + QList aPresentations = + selection()->getSelected(ModuleBase_ISelection::Viewer); foreach(ModuleBase_ViewerPrsPtr aPrs, aPresentations) { if (aPrs->object().get()) { if (!aFeatures.contains(aPrs->object()))