Salome HOME
Method rename.
authormzn <mzn@opencascade.com>
Fri, 29 Nov 2013 14:46:21 +0000 (14:46 +0000)
committermzn <mzn@opencascade.com>
Fri, 29 Nov 2013 14:46:21 +0000 (14:46 +0000)
src/HYDROData/HYDROData_Profile.cxx
src/HYDROData/HYDROData_Profile.h

index 257dc01eb6387cc9427bc49e26ee2c95797749e7..ec2348e64ea6b0110ebd91d966acf2f2221436bb 100755 (executable)
@@ -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();
     }
   }
 
index 083831878dbbe7b915c724b522e768acfabb270a..eabbb395fe94ddba2d2ae851952b9d0c2bdf5833 100644 (file)
@@ -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.