From: adv Date: Fri, 6 Dec 2013 11:22:52 +0000 (+0000) Subject: Show\Hide digue object. X-Git-Tag: BR_hydro_v_0_4~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b75552a6de664430f0d1e3f1996381ea91127dc0;p=modules%2Fhydro.git Show\Hide digue object. --- diff --git a/src/HYDROGUI/HYDROGUI_OCCDisplayer.cxx b/src/HYDROGUI/HYDROGUI_OCCDisplayer.cxx index 90a85850..973210e2 100644 --- a/src/HYDROGUI/HYDROGUI_OCCDisplayer.cxx +++ b/src/HYDROGUI/HYDROGUI_OCCDisplayer.cxx @@ -110,7 +110,8 @@ HYDROGUI_Shape* HYDROGUI_OCCDisplayer::createShape( const int anObjectKind != KIND_OBSTACLE && anObjectKind != KIND_PROFILE && anObjectKind != KIND_STREAM && - anObjectKind != KIND_CHANNEL ) + anObjectKind != KIND_CHANNEL && + anObjectKind != KIND_DIGUE ) return aResShape; aResShape = new HYDROGUI_Shape( theContext, theObject ); diff --git a/src/HYDROGUI/HYDROGUI_Tool.cxx b/src/HYDROGUI/HYDROGUI_Tool.cxx index da585626..14b8836b 100644 --- a/src/HYDROGUI/HYDROGUI_Tool.cxx +++ b/src/HYDROGUI/HYDROGUI_Tool.cxx @@ -225,7 +225,8 @@ void HYDROGUI_Tool::GetPrsSubObjects( HYDROGUI_Module* theModule, ( anObject->GetKind() == KIND_OBSTACLE ) || ( anObject->GetKind() == KIND_PROFILE ) || ( anObject->GetKind() == KIND_STREAM ) || - ( anObject->GetKind() == KIND_CHANNEL ) ) ) + ( anObject->GetKind() == KIND_CHANNEL ) || + ( anObject->GetKind() == KIND_DIGUE ) ) ) { theSeq.Append( anObject ); }