]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Show\Hide for stream objects.
authoradv <adv@opencascade.com>
Mon, 2 Dec 2013 11:34:01 +0000 (11:34 +0000)
committeradv <adv@opencascade.com>
Mon, 2 Dec 2013 11:34:01 +0000 (11:34 +0000)
src/HYDROGUI/HYDROGUI_OCCDisplayer.cxx
src/HYDROGUI/HYDROGUI_Tool.cxx

index 51dfa2f38e6a04d08a3132b10cae89a69c08e8d2..f702ecbfef8940d99c13c439139ddba49d11dac3 100644 (file)
@@ -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 );
index bb9da6793499fe2edde551c0a4f1138e9af0a965..bd764fe83267f6dc89dfff8f0e6b2e145163e9d1 100644 (file)
@@ -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 );
       }