Read netclass via drill settings from project file.

Fixes https://gitlab.com/kicad/code/kicad/issues/5951

Fixes https://gitlab.com/kicad/code/kicad/issues/5952
This commit is contained in:
Jeff Young 2020-10-13 09:53:53 +01:00
parent 763da6b3bb
commit 5eaa992ce8
1 changed files with 3 additions and 0 deletions

View File

@ -151,6 +151,9 @@ NET_SETTINGS::NET_SETTINGS( JSON_SETTINGS* aParent, const std::string& aPath ) :
if( auto value = getInPcbUnits( entry, "via_diameter" ) ) if( auto value = getInPcbUnits( entry, "via_diameter" ) )
netclass->SetViaDiameter( *value ); netclass->SetViaDiameter( *value );
if( auto value = getInPcbUnits( entry, "via_drill" ) )
netclass->SetViaDrill( *value );
if( auto value = getInPcbUnits( entry, "microvia_diameter" ) ) if( auto value = getInPcbUnits( entry, "microvia_diameter" ) )
netclass->SetuViaDiameter( *value ); netclass->SetuViaDiameter( *value );