Salome HOME
Bug #490: batch mode error.
[modules/hydro.git] / src / HYDROData / HYDROData_Channel.cxx
index cc8706e5c2695f2a8f658139fa75c2839f1bd04f..b7f8c7a8a46875e95f32ab729b045ef435eb35aa 100644 (file)
@@ -84,7 +84,7 @@ TopoDS_Shape HYDROData_Channel::GetShape3D() const
   return getShape3D();
 }
 
-bool HYDROData_Channel::CreatePresentaions( const Handle(HYDROData_Polyline3D)& theGuideLine,
+bool HYDROData_Channel::CreatePresentations( const Handle(HYDROData_Polyline3D)& theGuideLine,
                                             const Handle(HYDROData_Profile)&    theProfile,
                                             PrsDefinition&                      thePrs )
 {
@@ -137,7 +137,7 @@ void HYDROData_Channel::Update()
   Handle(HYDROData_Profile) aProfile = GetProfile();
 
   PrsDefinition aResultPrs;
-  if ( !CreatePresentaions( aGuideLine, aProfile, aResultPrs ) )
+  if ( !CreatePresentations( aGuideLine, aProfile, aResultPrs ) )
     return;
 
   SetShape3D( aResultPrs.myPrs3D );