From: isn Date: Thu, 1 Dec 2016 11:57:06 +0000 (+0300) Subject: force update of channel - delete groups X-Git-Tag: v1.6~15^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0e72ac1db5c24e3680555995c82243d600073451;p=modules%2Fhydro.git force update of channel - delete groups --- 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 );