Naming conventions and formatting.
This commit is contained in:
parent
cd130be2db
commit
744dadd412
|
@ -663,13 +663,13 @@ bool PCB_EDIT_FRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, in
|
||||||
|
|
||||||
PLUGIN::RELEASER pi( IO_MGR::PluginFind( pluginType ) );
|
PLUGIN::RELEASER pi( IO_MGR::PluginFind( pluginType ) );
|
||||||
|
|
||||||
LAYER_REMAPPABLE_PLUGIN* layerRemappable =
|
LAYER_REMAPPABLE_PLUGIN* layerRemappablePlugin =
|
||||||
dynamic_cast< LAYER_REMAPPABLE_PLUGIN* >( (PLUGIN*) pi );
|
dynamic_cast< LAYER_REMAPPABLE_PLUGIN* >( (PLUGIN*) pi );
|
||||||
if ( layerRemappable )
|
|
||||||
|
if( layerRemappablePlugin )
|
||||||
{
|
{
|
||||||
using namespace std::placeholders;
|
layerRemappablePlugin->RegisterLayerMappingCallback(
|
||||||
layerRemappable->RegisterLayerMappingCallback(
|
std::bind( DIALOG_IMPORTED_LAYERS::GetMapModal, this, std::placeholders::_1 ) );
|
||||||
std::bind( DIALOG_IMPORTED_LAYERS::GetMapModal, this, _1 ) );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// This will rename the file if there is an autosave and the user want to recover
|
// This will rename the file if there is an autosave and the user want to recover
|
||||||
|
@ -733,9 +733,7 @@ bool PCB_EDIT_FRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, in
|
||||||
SetBoard( loadedBoard );
|
SetBoard( loadedBoard );
|
||||||
|
|
||||||
if( GFootprintList.GetCount() == 0 )
|
if( GFootprintList.GetCount() == 0 )
|
||||||
{
|
|
||||||
GFootprintList.ReadCacheFromFile( Prj().GetProjectPath() + "fp-info-cache" );
|
GFootprintList.ReadCacheFromFile( Prj().GetProjectPath() + "fp-info-cache" );
|
||||||
}
|
|
||||||
|
|
||||||
if( loadedBoard->m_LegacyDesignSettingsLoaded )
|
if( loadedBoard->m_LegacyDesignSettingsLoaded )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue