From 0e72ac1db5c24e3680555995c82243d600073451 Mon Sep 17 00:00:00 2001 From: isn Date: Thu, 1 Dec 2016 14:57:06 +0300 Subject: [PATCH] force update of channel - delete groups --- src/HYDROData/HYDROData_Channel.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/HYDROData/HYDROData_Channel.cxx b/src/HYDROData/HYDROData_Channel.cxx index 899c4fbe..09ba1c64 100644 --- a/src/HYDROData/HYDROData_Channel.cxx +++ b/src/HYDROData/HYDROData_Channel.cxx @@ -329,9 +329,9 @@ void HYDROData_Channel::Update() TopTools_SequenceOfShape anOutletEdges; HYDROData_ShapesTool::ExploreShapeToShapes( aResultPrs.myOutlet, TopAbs_EDGE, anOutletEdges ); - + + RemoveGroupObjects(); QString aLeftGroupName = GetName() + "_Left_Bank"; - Handle(HYDROData_ShapesGroup) aLeftGroup = createGroupObject(); aLeftGroup->SetName( aLeftGroupName ); aLeftGroup->SetShapes( aLeftBankEdges ); -- 2.39.2