Salome HOME
refs #1327: debug of scaling operations
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ProfileOp.cxx
index ab8f669b1de4579113c5cdbc1b4e589003b7d793..1c9c96adc5250777ac1b512cebebcba2e5ef3f07 100644 (file)
@@ -202,7 +202,7 @@ bool HYDROGUI_ProfileOp::processApply( int& theUpdateFlags,
 
   HYDROData_ProfileUZ::PointsList aProfileParamPoints;
 
-  CurveCreator::Coordinates aCurveCoords = myProfile->getPoints( 0 );
+  CurveCreator::Coordinates aCurveCoords = myProfile->getCoords( 0 );
   if ( aCurveCoords.size() <= 2 )
   {
     theErrorMsg = tr( "NUMBER_OF_PROFILE_POINTS_INCORRECT" );