Salome HOME
projects
/
modules
/
hydro.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63724e7
)
Removing of presentations from view corrected.
author
adv
<adv@opencascade.com>
Thu, 21 Nov 2013 13:41:30 +0000
(13:41 +0000)
committer
adv
<adv@opencascade.com>
Thu, 21 Nov 2013 13:41:30 +0000
(13:41 +0000)
src/HYDROGUI/HYDROGUI_Displayer.cxx
patch
|
blob
|
history
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;
}
}