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:
Jeff Young 2019-12-25 11:12:38 +00:00
parent 87e163945e
commit ffe3fdf832
1 changed files with 4 additions and 0 deletions

View File

@ -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;
} }