From: isn Date: Mon, 3 Dec 2018 15:41:16 +0000 (+0300) Subject: debug of Group Definition p.3 X-Git-Tag: HYDRO_V2_0_0~2^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=830073c7d9a58071dbf8be62f1fdb815925038f8;p=modules%2Fhydro.git debug of Group Definition p.3 --- diff --git a/src/HYDROData/HYDROData_SplitToZonesTool.cxx b/src/HYDROData/HYDROData_SplitToZonesTool.cxx index 29d93734..25302c15 100644 --- a/src/HYDROData/HYDROData_SplitToZonesTool.cxx +++ b/src/HYDROData/HYDROData_SplitToZonesTool.cxx @@ -772,10 +772,10 @@ void HYDROData_SplitToZonesTool::AddInternalEdges(HYDROData_DataMapOfShapeListOf { const TopoDS_Shape& K = DM.FindKey(i); const TopTools_ListOfShape& V = DM.FindFromIndex(i); - TopTools_ListOfShape modifSh = OInSH2MSH.FindFromKey(K); - if (!modifSh.IsEmpty()) + const TopTools_ListOfShape* modifSh = OInSH2MSH.Seek(K); + if (modifSh && !modifSh->IsEmpty()) { - TopTools_ListIteratorOfListOfShape it(modifSh); + TopTools_ListIteratorOfListOfShape it(*modifSh); for (;it.More(); it.Next()) { const TopoDS_Shape& NF = it.Value();