]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMESHUtils/SMESH_PolyLine.cxx
Salome HOME
#17085 [CEA 17030] Warning sub-mesh with Extrusion 3D
[modules/smesh.git] / src / SMESHUtils / SMESH_PolyLine.cxx
index b244a7560e99a2a3227776a50b61fd61e40ffa03..82ace285912eba5086e0b76940d3397ee20027bc 100644 (file)
@@ -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;