]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Pb with PolySegment between edges
authoreap <eap@opencascade.com>
Mon, 2 Oct 2017 16:31:06 +0000 (19:31 +0300)
committereap <eap@opencascade.com>
Mon, 2 Oct 2017 16:31:06 +0000 (19:31 +0300)
src/SMESH/SMESH_MeshEditor.cxx

index 42fac991c32321d5d5b428fa4fb6b81c0a5030c5..45d0f256cc01d38e68632a7e29c62eab7786d8f0 100644 (file)
@@ -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