Legacy plugin: fix incorrect number of copper layers after loading a .brd file.
This commit is contained in:
parent
9cb60dcdf5
commit
3a614a8ea1
|
@ -615,6 +615,9 @@ void LEGACY_PLUGIN::loadGENERAL()
|
|||
// layer visibility equals layer usage, unless overridden later via "VisibleLayers"
|
||||
// Must call SetEnabledLayers() before calling SetVisibleLayers().
|
||||
m_board->SetVisibleLayers( new_mask );
|
||||
|
||||
// Ensure copper layers count is not modified:
|
||||
m_board->SetCopperLayerCount( m_cu_count );
|
||||
}
|
||||
|
||||
else if( TESTLINE( "VisibleLayers" ) )
|
||||
|
|
Loading…
Reference in New Issue