Fix zone fill state toggling when saving and reloading a board file in pcbnew.
This commit is contained in:
parent
2c7628fdf7
commit
249cb0dea0
|
@ -340,7 +340,7 @@ int ZONE_CONTAINER::ReadDescr( LINE_READER* aReader )
|
||||||
if( arcsegmentcount >= ARC_APPROX_SEGMENTS_COUNT_HIGHT_DEF )
|
if( arcsegmentcount >= ARC_APPROX_SEGMENTS_COUNT_HIGHT_DEF )
|
||||||
m_ArcToSegmentsCount = ARC_APPROX_SEGMENTS_COUNT_HIGHT_DEF;
|
m_ArcToSegmentsCount = ARC_APPROX_SEGMENTS_COUNT_HIGHT_DEF;
|
||||||
|
|
||||||
m_IsFilled = fillstate == 'F' ? true : false;
|
m_IsFilled = (fillstate == 'S') ? true : false;
|
||||||
}
|
}
|
||||||
else if( strnicmp( Line, "ZClearance", 10 ) == 0 ) // Clearence and pad options info found
|
else if( strnicmp( Line, "ZClearance", 10 ) == 0 ) // Clearence and pad options info found
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue