Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Bathymethries are colored now by all colors (including red etc.)
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_Displayer.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_Displayer.cxx
b/src/HYDROGUI/HYDROGUI_Displayer.cxx
index 570ba30cf0fc184869308102cb7fd33951ebbdd0..045b7db3c5e904f43d05d5d7f27497ac51058f89 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_Displayer.cxx
+++ b/
src/HYDROGUI/HYDROGUI_Displayer.cxx
@@
-108,6
+108,7
@@
void HYDROGUI_Displayer::Erase( const HYDROData_SequenceOfObjects& theObjs,
if( HYDROGUI_Prs* aPrs = HYDROGUI_Tool::GetPresentation( anObj, anObjectList ) )
{
aViewPort->removeItem( aPrs );
+ anObjectList.removeAll( aPrs );
delete aPrs;
}
}