]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Show\Hide digue object.
authoradv <adv@opencascade.com>
Fri, 6 Dec 2013 11:22:52 +0000 (11:22 +0000)
committeradv <adv@opencascade.com>
Fri, 6 Dec 2013 11:22:52 +0000 (11:22 +0000)
src/HYDROGUI/HYDROGUI_OCCDisplayer.cxx
src/HYDROGUI/HYDROGUI_Tool.cxx

index 90a8585013849155bc42db6d7dc56c31a3f8e6be..973210e24e775fd5f94043de0d8c56244e36e31c 100644 (file)
@@ -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 );
index da585626e88ea249033e48cd03d9a717521a974d..14b8836bc9c51054ee1c9f1ec13f4686e68d7acc 100644 (file)
@@ -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 );
       }