From: eap Date: Mon, 2 Oct 2017 16:31:06 +0000 (+0300) Subject: Pb with PolySegment between edges X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a110ca107e58c27526a4e806d6600a58661636dc;p=modules%2Fsmesh.git Pb with PolySegment between edges --- diff --git a/src/SMESH/SMESH_MeshEditor.cxx b/src/SMESH/SMESH_MeshEditor.cxx index 42fac991c..45d0f256c 100644 --- a/src/SMESH/SMESH_MeshEditor.cxx +++ b/src/SMESH/SMESH_MeshEditor.cxx @@ -13073,7 +13073,7 @@ namespace // utils for MakePolyLine if ( polySeg.myNode2[1] ) p2 = 0.5 * ( p2 + SMESH_NodeXYZ( polySeg.myNode2[1] )); gp_XYZ plnNorm = ( p1 - p2 ) ^ polySeg.myVector.XYZ(); - gp_XYZ plnOrig = SMESH_NodeXYZ( polySeg.myNode1[0] ); + gp_XYZ plnOrig = p2; // find paths connecting the 2 end points of polySeg