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; }