From: eap Date: Wed, 4 Oct 2017 11:36:35 +0000 (+0300) Subject: Fix X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a67fa462c7f0ecfcc2bdf2c47a2503a4c7413d0b;p=modules%2Fsmesh.git Fix --- diff --git a/src/SMESH/SMESH_MeshEditor.cxx b/src/SMESH/SMESH_MeshEditor.cxx index a3d2b226e..9bc9371ee 100644 --- a/src/SMESH/SMESH_MeshEditor.cxx +++ b/src/SMESH/SMESH_MeshEditor.cxx @@ -13119,8 +13119,7 @@ namespace // utils for MakePolyLine if ( path.SetCutAtCorner( polySeg.myNode1[ iP ], fIt->next(), plnNorm, plnOrig )) { if (( path.myDot1 * path.myDot2 != 0 ) || - ( nodes.insert( path.myNode1._node ).second && - nodes.insert( path.myNode2._node ).second )) + ( nodes.insert( path.myDot1 == 0 ? path.myNode1._node : path.myNode2._node ).second )) paths.push_back( path ); } }