From: asl Date: Fri, 22 Aug 2014 05:04:13 +0000 (+0000) Subject: refs #423: color for polylines presentation is correctly set X-Git-Tag: master_20140917~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=19a3b00b657cd97859502f8bf693f0d1caf800d7;p=modules%2Fhydro.git refs #423: color for polylines presentation is correctly set --- diff --git a/src/HYDROGUI/HYDROGUI_Shape.cxx b/src/HYDROGUI/HYDROGUI_Shape.cxx index 550deb93..eb05a9b4 100644 --- a/src/HYDROGUI/HYDROGUI_Shape.cxx +++ b/src/HYDROGUI/HYDROGUI_Shape.cxx @@ -754,6 +754,12 @@ void HYDROGUI_Shape::colorShapeBorder( const QColor& theColor ) aBoundaryAspect->SetColor( aBorderColor ); anAttributes->SetFaceBoundaryAspect( aBoundaryAspect ); } + Handle(Prs3d_LineAspect) aWireAspect = anAttributes->WireAspect(); + if ( !aWireAspect.IsNull() ) + { + aWireAspect->SetColor( aBorderColor ); + anAttributes->SetWireAspect( aWireAspect ); + } } } else if ( myDisplayMode == AIS_WireFrame )