Set m_netNamesOnVias. We currently follow m_netNamesOnPads.
We could also follow m_netNamesOnTracks, or add another set of options in the GUI. But for now I suspect this is sufficient.
This commit is contained in:
parent
87e163945e
commit
ffe3fdf832
|
@ -151,21 +151,25 @@ void PCB_RENDER_SETTINGS::LoadDisplayOptions( const PCB_DISPLAY_OPTIONS& aOption
|
||||||
case 0:
|
case 0:
|
||||||
m_netNamesOnPads = false;
|
m_netNamesOnPads = false;
|
||||||
m_netNamesOnTracks = false;
|
m_netNamesOnTracks = false;
|
||||||
|
m_netNamesOnVias = false;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
m_netNamesOnPads = true;
|
m_netNamesOnPads = true;
|
||||||
m_netNamesOnTracks = false;
|
m_netNamesOnTracks = false;
|
||||||
|
m_netNamesOnVias = true; // Follow pads or tracks? For now we chose pads....
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 2:
|
case 2:
|
||||||
m_netNamesOnPads = false;
|
m_netNamesOnPads = false;
|
||||||
m_netNamesOnTracks = true;
|
m_netNamesOnTracks = true;
|
||||||
|
m_netNamesOnVias = false; // Follow pads or tracks? For now we chose pads....
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 3:
|
case 3:
|
||||||
m_netNamesOnPads = true;
|
m_netNamesOnPads = true;
|
||||||
m_netNamesOnTracks = true;
|
m_netNamesOnTracks = true;
|
||||||
|
m_netNamesOnVias = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue