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:
parent
763da6b3bb
commit
5eaa992ce8
|
@ -151,6 +151,9 @@ NET_SETTINGS::NET_SETTINGS( JSON_SETTINGS* aParent, const std::string& aPath ) :
|
|||
if( auto value = getInPcbUnits( entry, "via_diameter" ) )
|
||||
netclass->SetViaDiameter( *value );
|
||||
|
||||
if( auto value = getInPcbUnits( entry, "via_drill" ) )
|
||||
netclass->SetViaDrill( *value );
|
||||
|
||||
if( auto value = getInPcbUnits( entry, "microvia_diameter" ) )
|
||||
netclass->SetuViaDiameter( *value );
|
||||
|
||||
|
|
Loading…
Reference in New Issue