Update pad netnames (and numbers) to the new visibility architecture.
This commit is contained in:
parent
21bec6c016
commit
74a5db64c2
|
@ -277,7 +277,8 @@ void PCB_DRAW_PANEL_GAL::SetHighContrastLayer( PCB_LAYER_ID aLayer )
|
||||||
// fixme do not like the idea of storing the list of layers here,
|
// fixme do not like the idea of storing the list of layers here,
|
||||||
// should be done in some other way I guess..
|
// should be done in some other way I guess..
|
||||||
LAYER_NUM layers[] = {
|
LAYER_NUM layers[] = {
|
||||||
GetNetnameLayer( aLayer ),
|
GetNetnameLayer( aLayer ), LAYER_VIAS_NETNAMES,
|
||||||
|
LAYER_PAD_FR_NETNAMES, LAYER_PAD_BK_NETNAMES, LAYER_PADS_NETNAMES,
|
||||||
ZONE_LAYER_FOR( aLayer ),
|
ZONE_LAYER_FOR( aLayer ),
|
||||||
LAYER_PADS_TH, LAYER_PADS_PLATEDHOLES, LAYER_NON_PLATEDHOLES,
|
LAYER_PADS_TH, LAYER_PADS_PLATEDHOLES, LAYER_NON_PLATEDHOLES,
|
||||||
LAYER_VIA_THROUGH, LAYER_VIA_BBLIND, LAYER_VIA_MICROVIA,
|
LAYER_VIA_THROUGH, LAYER_VIA_BBLIND, LAYER_VIA_MICROVIA,
|
||||||
|
|
|
@ -338,6 +338,11 @@ COLOR4D PCB_RENDER_SETTINGS::GetColor( const VIEW_ITEM* aItem, int aLayer ) cons
|
||||||
if( !static_cast<const TRACK*>( item )->IsOnLayer( primary ) )
|
if( !static_cast<const TRACK*>( item )->IsOnLayer( primary ) )
|
||||||
isActive = false;
|
isActive = false;
|
||||||
}
|
}
|
||||||
|
else if( item->Type() == PCB_PAD_T )
|
||||||
|
{
|
||||||
|
if( !static_cast<const PAD*>( item )->FlashLayer( primary ) )
|
||||||
|
isActive = false;
|
||||||
|
}
|
||||||
|
|
||||||
if( !isActive )
|
if( !isActive )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue