From: adv Date: Thu, 21 Nov 2013 13:41:30 +0000 (+0000) Subject: Removing of presentations from view corrected. X-Git-Tag: BR_hydro_v_0_3_1~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6e9a6f1fb1284c855a5050aef2e1e62bb45f3f03;p=modules%2Fhydro.git Removing of presentations from view corrected. --- diff --git a/src/HYDROGUI/HYDROGUI_Displayer.cxx b/src/HYDROGUI/HYDROGUI_Displayer.cxx index 570ba30c..045b7db3 100644 --- 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; } }