X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHUtils%2FSMESH_PolyLine.cxx;h=82ace285912eba5086e0b76940d3397ee20027bc;hp=b244a7560e99a2a3227776a50b61fd61e40ffa03;hb=98ec6be586ce93a33c242c6ce1f90b609ce31493;hpb=0bbec902ba322fd4b0b79a09c7e338a9666fe4ec 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;