From: adv Date: Mon, 2 Dec 2013 12:02:26 +0000 (+0000) Subject: Color for streams added in to the presentation. X-Git-Tag: BR_hydro_v_0_4~102 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c4298c7bb2cd560cd63b9f1fcd02779e0153f910;p=modules%2Fhydro.git Color for streams added in to the presentation. --- diff --git a/src/HYDROGUI/HYDROGUI_Shape.cxx b/src/HYDROGUI/HYDROGUI_Shape.cxx index 86f12ef4..0bb923b5 100644 --- a/src/HYDROGUI/HYDROGUI_Shape.cxx +++ b/src/HYDROGUI/HYDROGUI_Shape.cxx @@ -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 ); } }