]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
refs #553: correct default right point of not-georeferenced profile
authorasl <asl@opencascade.com>
Wed, 27 May 2015 06:19:15 +0000 (09:19 +0300)
committerasl <asl@opencascade.com>
Wed, 27 May 2015 06:19:15 +0000 (09:19 +0300)
src/HYDROData/HYDROData_Profile.cxx

index 47418cdf8a0200b45a89d32b4df9534a93abd8b1..6fbfd97a90ddce334d6147278c4c26107294f785 100755 (executable)
@@ -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() )