From 638640d145d768ab2b687fc6e03cb332fee7cb61 Mon Sep 17 00:00:00 2001 From: asl Date: Wed, 27 May 2015 09:19:15 +0300 Subject: [PATCH] refs #553: correct default right point of not-georeferenced profile --- src/HYDROData/HYDROData_Profile.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ) -- 2.39.2