From c4298c7bb2cd560cd63b9f1fcd02779e0153f910 Mon Sep 17 00:00:00 2001 From: adv Date: Mon, 2 Dec 2013 12:02:26 +0000 Subject: [PATCH] Color for streams added in to the presentation. --- src/HYDROGUI/HYDROGUI_Shape.cxx | 6 ++++++ 1 file changed, 6 insertions(+) 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 ); } } -- 2.39.2