]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
refs #504: color of boundary polyline.
authormzn <mzn@opencascade.com>
Tue, 30 Jun 2015 07:24:28 +0000 (10:24 +0300)
committermzn <mzn@opencascade.com>
Tue, 30 Jun 2015 07:24:28 +0000 (10:24 +0300)
src/HYDROData/HYDROData_Bathymetry.cxx

index 8bfffcfc5a8802fc7c094f6f6ed6df3adc296eda..a43700c9c21eeed59fa2ddf9935cba8d48845181 100644 (file)
@@ -30,6 +30,7 @@
 #include <TDataStd_AsciiString.hxx>
 #include <TDataStd_Integer.hxx>
 
+#include <QColor>
 #include <QFile>
 #include <QFileInfo>
 #include <QPointF>
@@ -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;