From: mzn Date: Tue, 30 Jun 2015 07:24:28 +0000 (+0300) Subject: refs #504: color of boundary polyline. X-Git-Tag: v1.4.2~7^2~1^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a30c561b75480b62745e34c935d8ae36a4f6a128;p=modules%2Fhydro.git refs #504: color of boundary polyline. --- diff --git a/src/HYDROData/HYDROData_Bathymetry.cxx b/src/HYDROData/HYDROData_Bathymetry.cxx index 8bfffcfc..a43700c9 100644 --- a/src/HYDROData/HYDROData_Bathymetry.cxx +++ b/src/HYDROData/HYDROData_Bathymetry.cxx @@ -30,6 +30,7 @@ #include #include +#include #include #include #include @@ -626,6 +627,9 @@ Handle_HYDROData_PolylineXY HYDROData_Bathymetry::CreateBoundaryPolyline() const aResult->AddPoint( 0, HYDROData_IPolyline::Point( Xmin, Ymax ) ); aResult->AddPoint( 0, HYDROData_IPolyline::Point( Xmax, Ymax ) ); aResult->AddPoint( 0, HYDROData_IPolyline::Point( Xmax, Ymin ) ); + + aResult->SetWireColor( HYDROData_PolylineXY::DefaultWireColor() ); + aResult->Update(); return aResult;