From cca39bdfd0271383cad5a55f91eb17ef76c04e0f Mon Sep 17 00:00:00 2001 From: mzn Date: Fri, 29 Nov 2013 14:46:21 +0000 Subject: [PATCH] Method rename. --- src/HYDROData/HYDROData_Profile.cxx | 3 ++- src/HYDROData/HYDROData_Profile.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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. -- 2.39.2