From a30c561b75480b62745e34c935d8ae36a4f6a128 Mon Sep 17 00:00:00 2001 From: mzn Date: Tue, 30 Jun 2015 10:24:28 +0300 Subject: [PATCH] refs #504: color of boundary polyline. --- src/HYDROData/HYDROData_Bathymetry.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.39.2