From d81a351c738f53666fd56b7ca429e229f4afc3d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Sumi=C5=84ski?= Date: Sun, 7 Jul 2013 18:55:23 +0200 Subject: [PATCH] Removed drawing hatch lines for polygons. --- pcbnew/pcb_painter.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/pcbnew/pcb_painter.cpp b/pcbnew/pcb_painter.cpp index 22293d1ad9..07ae0ef434 100644 --- a/pcbnew/pcb_painter.cpp +++ b/pcbnew/pcb_painter.cpp @@ -520,17 +520,6 @@ void PCB_PAINTER::draw( const ZONE_CONTAINER* aContainer ) m_gal->DrawPolyline( corners ); corners.clear(); - // Draw the outline's hatch lines - std::vector::const_iterator hatch, hatch_end; - for( hatch = outline->m_HatchLines.begin(), hatch_end = outline->m_HatchLines.end(); - hatch != hatch_end; ++hatch ) - { - const VECTOR2D start = VECTOR2D( hatch->m_Start ); - const VECTOR2D end = VECTOR2D( hatch->m_End ); - - m_gal->DrawLine( start, end ); - } - // Draw the filling if( displayMode != PCB_RENDER_SETTINGS::DZ_HIDE_FILLED ) {