From: mpv Date: Mon, 19 Nov 2018 14:28:25 +0000 (+0300) Subject: Extend usage of filters by neighbors algorithm X-Git-Tag: End2018~166 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6ec24b345160a20a44a0079be4ae87b7936fc276;p=modules%2Fshaper.git Extend usage of filters by neighbors algorithm --- diff --git a/src/Selector/Selector_FilterByNeighbors.cpp b/src/Selector/Selector_FilterByNeighbors.cpp index 4d71686db..41049e877 100644 --- a/src/Selector/Selector_FilterByNeighbors.cpp +++ b/src/Selector/Selector_FilterByNeighbors.cpp @@ -195,7 +195,7 @@ bool Selector_FilterByNeighbors::select(const TopoDS_Shape theContext, const Top TopoDS_Shape aNewNBShape = anOrder.Current(); // check which can be named correctly, without "by neighbors" type Selector_Algo* aSubAlgo = Selector_Algo::select(theContext, aNewNBShape, - newSubLabel(), baseDocument(), geometricalNaming(), false, false); + newSubLabel(), baseDocument(), geometricalNaming(), false, useIntersections()); if (aSubAlgo) { // add to list of good NBs aNBs.push_back(std::pair(aNewNBShape, aLevel)); @@ -208,7 +208,7 @@ bool Selector_FilterByNeighbors::select(const TopoDS_Shape theContext, const Top std::list >::iterator aNBIter = aNBs.begin(); for(; aNBIter != aNBs.end(); aNBIter++) { Selector_Algo* aSubAlgo = Selector_Algo::select(theContext, aNBIter->first, - newSubLabel(), baseDocument(), geometricalNaming(), false, false); + newSubLabel(), baseDocument(), geometricalNaming(), false, useIntersections()); if (append(aSubAlgo)) { myNBLevel.push_back(aNBIter->second); } else {