From: asl Date: Wed, 27 May 2015 06:19:15 +0000 (+0300) Subject: refs #553: correct default right point of not-georeferenced profile X-Git-Tag: v1.4.1~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=638640d145d768ab2b687fc6e03cb332fee7cb61;p=modules%2Fhydro.git refs #553: correct default right point of not-georeferenced profile --- diff --git a/src/HYDROData/HYDROData_Profile.cxx b/src/HYDROData/HYDROData_Profile.cxx index 47418cdf..6fbfd97a 100755 --- a/src/HYDROData/HYDROData_Profile.cxx +++ b/src/HYDROData/HYDROData_Profile.cxx @@ -294,7 +294,7 @@ bool HYDROData_Profile::GetRightPoint( gp_XY& thePoint, bool IsConvertToGlobal, if ( aParametricPoints.Length() < 2 ) return false; - thePoint = GetParametricPoints().First(); + thePoint = GetParametricPoints().Last(); TDF_Label aLabel = myLab.FindChild( DataTag_LastPoint, false ); if ( aLabel.IsNull() )