From 3de5ffc7036f58363e4eecd2dd8a12c87499d338 Mon Sep 17 00:00:00 2001 From: charras Date: Sun, 12 Oct 2008 15:58:52 +0000 Subject: [PATCH] minor bug: zones outlines hatch options not read from file --- pcbnew/class_zone.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pcbnew/class_zone.cpp b/pcbnew/class_zone.cpp index 8fd77f6cd9..34ad7a91c5 100644 --- a/pcbnew/class_zone.cpp +++ b/pcbnew/class_zone.cpp @@ -266,6 +266,7 @@ int ZONE_CONTAINER::ReadDescr( FILE* aFile, int* aLineNum ) break; } } + /* Set hatch later, afer reading outlines corners data */ } if( strnicmp( Line, "ZOptions", 8 ) == 0 ) // Options info found { @@ -341,6 +342,9 @@ int ZONE_CONTAINER::ReadDescr( FILE* aFile, int* aLineNum ) SetNet( 0 ); } + /* Set hatch here, when outlines corners are read */ + m_Poly->SetHatch(outline_hatch); + return error ? 0 : 1; }