From 6e9a6f1fb1284c855a5050aef2e1e62bb45f3f03 Mon Sep 17 00:00:00 2001 From: adv Date: Thu, 21 Nov 2013 13:41:30 +0000 Subject: [PATCH] Removing of presentations from view corrected. --- src/HYDROGUI/HYDROGUI_Displayer.cxx | 1 + 1 file changed, 1 insertion(+) 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; } } -- 2.39.2