]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
refs #1331: correct compilation with GEOM patch
authorasl <asl@opencascade.com>
Fri, 22 Sep 2017 07:00:30 +0000 (10:00 +0300)
committerasl <asl@opencascade.com>
Fri, 22 Sep 2017 07:00:30 +0000 (10:00 +0300)
src/HYDROGUI/HYDROGUI_PolylineOp.cxx
src/HYDROGUI/HYDROGUI_ProfileOp.cxx

index da94fccf784b8a0d0807626a8d326dd573904f61..0f4380f5fa656e9711a0f36e34a5095235bec3a9 100755 (executable)
@@ -354,7 +354,7 @@ bool HYDROGUI_PolylineOp::processApply( int& theUpdateFlags,
     aPolylineObj->AddSection( aSectName, aSectType, aSectClosure );
 
     // Add the points fro section
-    CurveCreator::Coordinates aCurveCoords = myCurve->getPoints( i );
+    CurveCreator::Coordinates aCurveCoords = myCurve->getCoords( i );
 
     if ( aCurveCoords.size() <= 2 )
     {
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" );