]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Color for streams added in to the presentation.
authoradv <adv@opencascade.com>
Mon, 2 Dec 2013 12:02:26 +0000 (12:02 +0000)
committeradv <adv@opencascade.com>
Mon, 2 Dec 2013 12:02:26 +0000 (12:02 +0000)
src/HYDROGUI/HYDROGUI_Shape.cxx

index 86f12ef42fa205f20c7e654b269a7d057a423e85..0bb923b57f4e1573db4be1bd47fb17b3d6446f51 100644 (file)
@@ -313,6 +313,12 @@ void HYDROGUI_Shape::update( const bool theIsUpdateViewer )
       TopoDS_Shell aStreamShape = TopoDS::Shell( aStream->GetTopShape() );
 
       setShape( aStreamShape, false, false );
+
+      QColor aFillingColor = aStream->GetFillingColor();
+      QColor aBorderColor = aStream->GetBorderColor();
+
+      setFillingColor( aFillingColor, false, false );
+      setBorderColor( aBorderColor, false, false );
     }
   }