|
|
@ -229,6 +229,9 @@ const COLOR4D& PCB_RENDER_SETTINGS::GetColor( const VIEW_ITEM* aItem, int aLayer |
|
|
// Try to obtain the netcode for the item
|
|
|
// Try to obtain the netcode for the item
|
|
|
if( const BOARD_CONNECTED_ITEM* conItem = dyn_cast<const BOARD_CONNECTED_ITEM*> ( item ) ) |
|
|
if( const BOARD_CONNECTED_ITEM* conItem = dyn_cast<const BOARD_CONNECTED_ITEM*> ( item ) ) |
|
|
netCode = conItem->GetNetCode(); |
|
|
netCode = conItem->GetNetCode(); |
|
|
|
|
|
|
|
|
|
|
|
if( item->Type() == PCB_MARKER_T ) |
|
|
|
|
|
return m_layerColors[aLayer]; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Single net highlight mode
|
|
|
// Single net highlight mode
|
|
|
|