From aa4f33e9fd1ef9e292a2f19bf938ff45d0192d64 Mon Sep 17 00:00:00 2001 From: adv Date: Mon, 2 Dec 2013 11:27:40 +0000 Subject: [PATCH] Stream added in to the model tree. --- src/HYDROGUI/HYDROGUI_DataModel.cxx | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 = -- 2.39.2