From: emv Date: Wed, 13 Apr 2016 21:34:45 +0000 (+0300) Subject: BRepOffset_Inter3d::ConnexIntByInt - Correct adding of the new section curves to... X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FCR25926_V6_9_0p3;p=occt-copy.git BRepOffset_Inter3d::ConnexIntByInt - Correct adding of the new section curves to the map of Ascendants/Descendants. --- diff --git a/src/BRepOffset/BRepOffset_Inter3d.cxx b/src/BRepOffset/BRepOffset_Inter3d.cxx index 52801fda75..f1f5d11fdb 100644 --- a/src/BRepOffset/BRepOffset_Inter3d.cxx +++ b/src/BRepOffset/BRepOffset_Inter3d.cxx @@ -735,9 +735,6 @@ void BRepOffset_Inter3d::ConnexIntByInt const TopoDS_Shape& aF1 = aLFF.First(); const TopoDS_Shape& aF2 = aLFF.Last(); // - TopTools_ListOfShape& aLFE1 = myAsDes->ChangeDescendant(aF1); - TopTools_ListOfShape& aLFE2 = myAsDes->ChangeDescendant(aF2); - // BOPCol_ListIteratorOfListOfShape aItLCBE(aLCBE); for (aItLCBE.Next(); aItLCBE.More(); aItLCBE.Next()) { // make new edge with different tedge instance @@ -750,8 +747,8 @@ void BRepOffset_Inter3d::ConnexIntByInt // BOPTools_AlgoTools::MakeSplitEdge(aE, aV1, aT1, aV2, aT2, aNewEdge); // - aLFE1.Append(aNewEdge); - aLFE2.Append(aNewEdge); + myAsDes->Add(aF1, aNewEdge); + myAsDes->Add(aF2, aNewEdge); // const TopoDS_Shape& aCB = aItLCBE.Value(); TopoDS_Iterator aItCB(aCB);