From: adv Date: Mon, 2 Dec 2013 11:27:40 +0000 (+0000) Subject: Stream added in to the model tree. X-Git-Tag: BR_hydro_v_0_4~106 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=aa4f33e9fd1ef9e292a2f19bf938ff45d0192d64;p=modules%2Fhydro.git Stream added in to the model tree. --- diff --git a/src/HYDROGUI/HYDROGUI_DataModel.cxx b/src/HYDROGUI/HYDROGUI_DataModel.cxx index 3ea41225..ba34e1e6 100644 --- a/src/HYDROGUI/HYDROGUI_DataModel.cxx +++ b/src/HYDROGUI/HYDROGUI_DataModel.cxx @@ -44,6 +44,7 @@ #include #include #include +#include #include #include @@ -329,6 +330,16 @@ void HYDROGUI_DataModel::update( const int theStudyId ) break; } + case KIND_STREAM: + { + Handle(HYDROData_Stream) aStreamObj = + Handle(HYDROData_Stream)::DownCast( anObj ); + if( !aStreamObj.IsNull() ) { + createObject( aNaturalObjectsRootObj, aStreamObj ); + } + + break; + } case KIND_OBSTACLE: { Handle(HYDROData_Obstacle) anObstacleObj =