minor bug: zones outlines hatch options not read from file

This commit is contained in:
charras 2008-10-12 15:58:52 +00:00
parent 72fae7e9e3
commit 3de5ffc703
1 changed files with 4 additions and 0 deletions

View File

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