Do not assign priorities to rule areas
As noted by @jeffyoung, we shouldn't set priorities to rule areas as this can expose unexpected issues Related to https://gitlab.com/kicad/code/kicad/-/issues/7776
This commit is contained in:
parent
5b9519da6c
commit
0c99c99e12
|
@ -2675,8 +2675,11 @@ bool FABMASTER::loadZone( BOARD* aBoard, const std::unique_ptr<FABMASTER::TRACE>
|
|||
zone->SetIsRuleArea( true );
|
||||
zone->SetDoNotAllowVias( true );
|
||||
}
|
||||
else
|
||||
{
|
||||
zone->SetPriority( 50 );
|
||||
}
|
||||
|
||||
zone->SetPriority( 50 );
|
||||
zone->SetLocalClearance( 0 );
|
||||
zone->SetPadConnection( ZONE_CONNECTION::FULL );
|
||||
|
||||
|
@ -2947,6 +2950,10 @@ bool FABMASTER::orderZones( BOARD* aBoard )
|
|||
|
||||
for( ZONE* zone : zones )
|
||||
{
|
||||
/// Rule areas do not have priorities
|
||||
if( zone->GetIsRuleArea() )
|
||||
continue;
|
||||
|
||||
if( zone->GetLayer() != layer )
|
||||
{
|
||||
layer = zone->GetLayer();
|
||||
|
|
Loading…
Reference in New Issue