From 6ec24b345160a20a44a0079be4ae87b7936fc276 Mon Sep 17 00:00:00 2001 From: mpv Date: Mon, 19 Nov 2018 17:28:25 +0300 Subject: [PATCH] Extend usage of filters by neighbors algorithm --- src/Selector/Selector_FilterByNeighbors.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.39.2