Must do a two-step default for legacy colours.
This commit is contained in:
parent
d80caeb844
commit
3f9eb0e18d
|
@ -591,7 +591,7 @@ void EDA_3D_VIEWER_FRAME::LoadSettings( APP_SETTINGS_BASE *aCfg )
|
|||
GetAdapter().GetDefaultColors() );
|
||||
}
|
||||
|
||||
cfg->m_CurrentPreset = wxEmptyString;
|
||||
cfg->m_CurrentPreset = FOLLOW_PLOT_SETTINGS;
|
||||
}
|
||||
|
||||
m_boardAdapter.InitSettings( nullptr, nullptr );
|
||||
|
|
|
@ -382,7 +382,7 @@ EDA_3D_VIEWER_SETTINGS::EDA_3D_VIEWER_SETTINGS() :
|
|||
m_params.emplace_back( new PARAM_LAYER_PRESET_3D( "layer_presets",
|
||||
&m_LayerPresets ) );
|
||||
m_params.emplace_back( new PARAM<wxString>( "current_layer_preset",
|
||||
&m_CurrentPreset, FOLLOW_PLOT_SETTINGS ) );
|
||||
&m_CurrentPreset, LEGACY_PRESET_FLAG ) );
|
||||
|
||||
registerMigration( 0, 1, std::bind( &EDA_3D_VIEWER_SETTINGS::migrateSchema0to1, this ) );
|
||||
|
||||
|
|
Loading…
Reference in New Issue