Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove extra files
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_SelectionMgr.cpp
diff --git
a/src/XGUI/XGUI_SelectionMgr.cpp
b/src/XGUI/XGUI_SelectionMgr.cpp
index 8bc012412bb24d5698abd829cfc058d8c4b1709a..f32ed5012b18c7180f8eab47693b092b19e3cd19 100755
(executable)
--- a/
src/XGUI/XGUI_SelectionMgr.cpp
+++ b/
src/XGUI/XGUI_SelectionMgr.cpp
@@
-22,6
+22,7
@@
#include <ModelAPI_ResultCompSolid.h>
#include <ModuleBase_ViewerPrs.h>
#include <ModelAPI_ResultCompSolid.h>
#include <ModuleBase_ViewerPrs.h>
+#include <ModuleBase_Tools.h>
#include <SelectMgr_ListIteratorOfListOfFilter.hxx>
#include <SelectMgr_ListIteratorOfListOfFilter.hxx>
@@
-64,6
+65,8
@@
void XGUI_SelectionMgr::setSelectedOwners(const SelectMgr_IndexedMapOfOwner& the
aContext->AddOrRemoveSelected(anOwner, isUpdateViewer);
}
}
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()) {
FeaturePtr aFeature;
Handle(AIS_InteractiveContext) aContext = myWorkshop->viewer()->AISContext();
if (!aContext.IsNull()) {
- QList<ModuleBase_ViewerPrsPtr> aPresentations = selection()->getSelected(ModuleBase_ISelection::Viewer);
+ QList<ModuleBase_ViewerPrsPtr> aPresentations =
+ selection()->getSelected(ModuleBase_ISelection::Viewer);
foreach(ModuleBase_ViewerPrsPtr aPrs, aPresentations) {
if (aPrs->object().get()) {
if (!aFeatures.contains(aPrs->object()))
foreach(ModuleBase_ViewerPrsPtr aPrs, aPresentations) {
if (aPrs->object().get()) {
if (!aFeatures.contains(aPrs->object()))