Don't consider rule area zones in priority calc

This commit is contained in:
Seth Hillbrand 2022-08-25 10:12:58 -07:00
parent e661545ecf
commit fb74bdb059
1 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,8 @@ void ZONE_CREATE_HELPER::setUniquePriority( ZONE_SETTINGS& aZoneInfo )
for( ZONE* zone : board->Zones() )
{
if( zone->GetTeardropAreaType() == TEARDROP_TYPE::TD_NONE
&& ( zone->GetLayerSet() & LSET::AllCuMask() ).any() )
&& ( zone->GetLayerSet() & LSET::AllCuMask() ).any()
&& !zone->GetIsRuleArea() )
{
priorities.insert( zone->GetAssignedPriority() );
}