mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 18:23:15 +02:00
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->SetIsRuleArea( true );
|
||||||
zone->SetDoNotAllowVias( true );
|
zone->SetDoNotAllowVias( true );
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
zone->SetPriority( 50 );
|
zone->SetPriority( 50 );
|
||||||
|
}
|
||||||
|
|
||||||
zone->SetLocalClearance( 0 );
|
zone->SetLocalClearance( 0 );
|
||||||
zone->SetPadConnection( ZONE_CONNECTION::FULL );
|
zone->SetPadConnection( ZONE_CONNECTION::FULL );
|
||||||
|
|
||||||
@ -2947,6 +2950,10 @@ bool FABMASTER::orderZones( BOARD* aBoard )
|
|||||||
|
|
||||||
for( ZONE* zone : zones )
|
for( ZONE* zone : zones )
|
||||||
{
|
{
|
||||||
|
/// Rule areas do not have priorities
|
||||||
|
if( zone->GetIsRuleArea() )
|
||||||
|
continue;
|
||||||
|
|
||||||
if( zone->GetLayer() != layer )
|
if( zone->GetLayer() != layer )
|
||||||
{
|
{
|
||||||
layer = zone->GetLayer();
|
layer = zone->GetLayer();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user