From: adv Date: Mon, 2 Dec 2013 11:34:01 +0000 (+0000) Subject: Show\Hide for stream objects. X-Git-Tag: BR_hydro_v_0_4~105 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=211bcb44a23680ed63bcca9066a2afc8cdc40786;p=modules%2Fhydro.git Show\Hide for stream objects. --- diff --git a/src/HYDROGUI/HYDROGUI_OCCDisplayer.cxx b/src/HYDROGUI/HYDROGUI_OCCDisplayer.cxx index 51dfa2f3..f702ecbf 100644 --- a/src/HYDROGUI/HYDROGUI_OCCDisplayer.cxx +++ b/src/HYDROGUI/HYDROGUI_OCCDisplayer.cxx @@ -106,7 +106,8 @@ HYDROGUI_Shape* HYDROGUI_OCCDisplayer::createShape( const int anObjectKind != KIND_REGION && anObjectKind != KIND_ZONE && anObjectKind != KIND_OBSTACLE && - anObjectKind != KIND_PROFILE ) + anObjectKind != KIND_PROFILE && + anObjectKind != KIND_STREAM ) return aResShape; aResShape = new HYDROGUI_Shape( theContext, theObject ); diff --git a/src/HYDROGUI/HYDROGUI_Tool.cxx b/src/HYDROGUI/HYDROGUI_Tool.cxx index bb9da679..bd764fe8 100644 --- a/src/HYDROGUI/HYDROGUI_Tool.cxx +++ b/src/HYDROGUI/HYDROGUI_Tool.cxx @@ -222,7 +222,8 @@ void HYDROGUI_Tool::GetPrsSubObjects( HYDROGUI_Module* theModule, ( anObject->GetKind() == KIND_BATHYMETRY ) || ( anObject->GetKind() == KIND_ZONE ) || ( anObject->GetKind() == KIND_OBSTACLE ) || - ( anObject->GetKind() == KIND_PROFILE ) ) ) + ( anObject->GetKind() == KIND_PROFILE ) || + ( anObject->GetKind() == KIND_STREAM ) ) ) { theSeq.Append( anObject ); }