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
Improvement for key "Delete" processing: should be done only on possible objects...
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_Selection.cpp
diff --git
a/src/XGUI/XGUI_Selection.cpp
b/src/XGUI/XGUI_Selection.cpp
index eb59cf8c8274cdcc3cd2044754da17d06412c4a8..6642e5436baa8ba2b6dd8a17a63aae80bc3178dd 100644
(file)
--- a/
src/XGUI/XGUI_Selection.cpp
+++ b/
src/XGUI/XGUI_Selection.cpp
@@
-174,6
+174,7
@@
void XGUI_Selection::fillPresentation(ModuleBase_ViewerPrsPtr& thePrs,
if (aAx.get()) {
thePrs->setObject(aAx);
thePrs->setShape(aAx->shape());
+ return;
}
}
} else {
@@
-191,6
+192,7
@@
void XGUI_Selection::fillPresentation(ModuleBase_ViewerPrsPtr& thePrs,
if (aOrigin.get()) {
thePrs->setObject(aOrigin);
thePrs->setShape(aOrigin->shape());
+ return;
}
}
}