]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Altitude object creation (Feature #241).
authoradv <adv@opencascade.com>
Mon, 30 Dec 2013 08:57:13 +0000 (08:57 +0000)
committeradv <adv@opencascade.com>
Mon, 30 Dec 2013 08:57:13 +0000 (08:57 +0000)
src/HYDROData/HYDROData_Obstacle.cxx

index f66444e70da9d39e8f9ecf1b8af5418b86f66361..f75d3f1e07935cb19546263c2a50715d17f49b5d 100644 (file)
@@ -76,10 +76,11 @@ QStringList HYDROData_Obstacle::DumpToPython( MapOfTreatedObjects& theTreatedObj
 
 void HYDROData_Obstacle::Update()
 {
-  HYDROData_Entity::Update();
-
   removeGroupObjects();
   createGroupObjects();
+  checkAndSetAltitudeObject();
+
+  HYDROData_Entity::Update();
 }
 
 TopoDS_Shape HYDROData_Obstacle::GetTopShape() const