7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 00:21:25 +00:00

Promote ODB++ export out of advanced config

At this point it is more useful to get wider testing
This commit is contained in:
Jon Evans 2024-11-20 18:51:24 -05:00
parent 0045538512
commit 387a544da3
4 changed files with 1 additions and 15 deletions

View File

@ -121,7 +121,6 @@ static const wxChar EnableExtensionSnaps[] = wxT( "EnableExtensionSnaps" );
static const wxChar ExtensionSnapTimeoutMs[] = wxT( "ExtensionSnapTimeoutMs" );
static const wxChar ExtensionSnapActivateOnHover[] = wxT( "ExtensionSnapActivateOnHover" );
static const wxChar EnableSnapAnchorsDebug[] = wxT( "EnableSnapAnchorsDebug" );
static const wxChar EnableODB[] = wxT( "EnableODB" );
static const wxChar EnableJobset[] = wxT( "EnableJobset" );
static const wxChar MinParallelAngle[] = wxT( "MinParallelAngle" );
@ -543,9 +542,6 @@ void ADVANCED_CFG::loadSettings( wxConfigBase& aCfg )
&m_ResolveTextRecursionDepth,
m_ResolveTextRecursionDepth, 0, 10 ) );
configParams.push_back( new PARAM_CFG_BOOL( true, AC_KEYS::EnableODB,
&m_EnableODB, m_EnableODB ) );
configParams.push_back( new PARAM_CFG_BOOL( true, AC_KEYS::EnableExtensionSnaps,
&m_EnableExtensionSnaps,
m_EnableExtensionSnaps ) );

View File

@ -694,11 +694,6 @@ public:
*/
bool m_EnableSnapAnchorsDebug;
/**
* When true, enable output to odb++
*/
bool m_EnableODB;
/**
* Minimum overlapping angle for which an arc is considered to be parallel
* to its paired arc.

View File

@ -1561,7 +1561,6 @@ void PCB_EDIT_FRAME::GenODBPPFiles( wxCommandEvent& event )
catch( const std::exception& e )
{
wxLogError( "Exception in ODB++ generation: %s", e.what() );
GetScreen()->SetContentModified( false );
return;
}
@ -1609,6 +1608,4 @@ void PCB_EDIT_FRAME::GenODBPPFiles( wxCommandEvent& event )
tempFile.Rmdir( wxPATH_RMDIR_RECURSIVE );
}
GetScreen()->SetContentModified( false );
}

View File

@ -168,9 +168,7 @@ void PCB_EDIT_FRAME::doReCreateMenuBar()
submenuFabOutputs->Add( PCB_ACTIONS::generateGerbers );
submenuFabOutputs->Add( PCB_ACTIONS::generateDrillFiles );
submenuFabOutputs->Add( PCB_ACTIONS::generateIPC2581File );
if( ADVANCED_CFG::GetCfg().m_EnableODB )
submenuFabOutputs->Add( PCB_ACTIONS::generateODBPPFile );
submenuFabOutputs->Add( PCB_ACTIONS::generateODBPPFile );
submenuFabOutputs->Add( PCB_ACTIONS::generatePosFile );
submenuFabOutputs->Add( PCB_ACTIONS::generateReportFile );