From: adv Date: Mon, 30 Dec 2013 08:57:13 +0000 (+0000) Subject: Altitude object creation (Feature #241). X-Git-Tag: BR_hydro_v_0_7~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7db4a7b97f2bc86a57b8c67da20b06b90ab0ef9b;p=modules%2Fhydro.git Altitude object creation (Feature #241). --- diff --git a/src/HYDROData/HYDROData_Obstacle.cxx b/src/HYDROData/HYDROData_Obstacle.cxx index f66444e7..f75d3f1e 100644 --- a/src/HYDROData/HYDROData_Obstacle.cxx +++ b/src/HYDROData/HYDROData_Obstacle.cxx @@ -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