From: mzn Date: Fri, 29 Nov 2013 14:46:21 +0000 (+0000) Subject: Method rename. X-Git-Tag: BR_hydro_v_0_4~124 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cca39bdfd0271383cad5a55f91eb17ef76c04e0f;p=modules%2Fhydro.git Method rename. --- diff --git a/src/HYDROData/HYDROData_Profile.cxx b/src/HYDROData/HYDROData_Profile.cxx index 257dc01e..ec2348e6 100755 --- a/src/HYDROData/HYDROData_Profile.cxx +++ b/src/HYDROData/HYDROData_Profile.cxx @@ -62,7 +62,7 @@ TopoDS_Shape HYDROData_Profile::GetShape3D() const return getShape3D(); } -void HYDROData_Profile::UpdateShape3D() +void HYDROData_Profile::Update() { BRepBuilderAPI_MakeWire aMakeWire; @@ -485,6 +485,7 @@ bool HYDROData_Profile::ImportFromFile( OSD_File& theFile ) else if ( anIsGeoref ) { SetProfilePoints( aPointsXYZ ); + Update(); } } diff --git a/src/HYDROData/HYDROData_Profile.h b/src/HYDROData/HYDROData_Profile.h index 08383187..eabbb395 100644 --- a/src/HYDROData/HYDROData_Profile.h +++ b/src/HYDROData/HYDROData_Profile.h @@ -58,7 +58,7 @@ public: * Call this method whenever you made changes in data structure. * This method does not called automatically since it may take a very long time. */ - HYDRODATA_EXPORT virtual void UpdateShape3D(); + HYDRODATA_EXPORT virtual void Update(); /** * Dump object to Python script representation.