Commit 3de5ffc7 authored by charras's avatar charras

minor bug: zones outlines hatch options not read from file

parent 72fae7e9
...@@ -266,6 +266,7 @@ int ZONE_CONTAINER::ReadDescr( FILE* aFile, int* aLineNum ) ...@@ -266,6 +266,7 @@ int ZONE_CONTAINER::ReadDescr( FILE* aFile, int* aLineNum )
break; break;
} }
} }
/* Set hatch later, afer reading outlines corners data */
} }
if( strnicmp( Line, "ZOptions", 8 ) == 0 ) // Options info found if( strnicmp( Line, "ZOptions", 8 ) == 0 ) // Options info found
{ {
...@@ -341,6 +342,9 @@ int ZONE_CONTAINER::ReadDescr( FILE* aFile, int* aLineNum ) ...@@ -341,6 +342,9 @@ int ZONE_CONTAINER::ReadDescr( FILE* aFile, int* aLineNum )
SetNet( 0 ); SetNet( 0 );
} }
/* Set hatch here, when outlines corners are read */
m_Poly->SetHatch(outline_hatch);
return error ? 0 : 1; return error ? 0 : 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment