X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHUtils%2FSMESH_PolyLine.cxx;h=82ace285912eba5086e0b76940d3397ee20027bc;hb=54db132ba15eba64f6ea4a6f2b5644313e56ff1c;hp=b244a7560e99a2a3227776a50b61fd61e40ffa03;hpb=d2248790d7e9f3862ac49798c4c55eeff28df18a;p=modules%2Fsmesh.git diff --git a/src/SMESHUtils/SMESH_PolyLine.cxx b/src/SMESHUtils/SMESH_PolyLine.cxx index b244a7560..82ace2859 100644 --- a/src/SMESHUtils/SMESH_PolyLine.cxx +++ b/src/SMESHUtils/SMESH_PolyLine.cxx @@ -154,7 +154,10 @@ namespace if ( !path.SetCutAtCorner( cornerNode, fIt->next(), plnNorm, plnOrig )) continue; - if ( !myAvoidSet.insert( path.myNode1.Node() ).second || + if ( path.myDot1 == 0 && + !myAvoidSet.insert( path.myNode1.Node() ).second ) + continue; + if ( path.myDot2 == 0 && !myAvoidSet.insert( path.myNode2.Node() ).second ) continue;