|
|
|
@ -112,6 +112,7 @@ static const wxChar TriangulateMinimumArea[] = wxT( "TriangulateMinimumArea" ); |
|
|
|
static const wxChar EnableCacheFriendlyFracture[] = wxT( "EnableCacheFriendlyFracture" ); |
|
|
|
static const wxChar EnableAPILogging[] = wxT( "EnableAPILogging" ); |
|
|
|
static const wxChar MaxFileSystemWatchers[] = wxT( "MaxFileSystemWatchers" ); |
|
|
|
static const wxChar MinorSchematicGraphSize[] = wxT( "MinorSchematicGraphSize" ); |
|
|
|
} // namespace KEYS
|
|
|
|
|
|
|
|
|
|
|
|
@ -268,6 +269,8 @@ ADVANCED_CFG::ADVANCED_CFG() |
|
|
|
|
|
|
|
m_MaxFilesystemWatchers = 16384; |
|
|
|
|
|
|
|
m_MinorSchematicGraphSize = 10000; |
|
|
|
|
|
|
|
loadFromConfigFile(); |
|
|
|
} |
|
|
|
|
|
|
|
@ -494,6 +497,10 @@ void ADVANCED_CFG::loadSettings( wxConfigBase& aCfg ) |
|
|
|
&m_MaxFilesystemWatchers, m_MaxFilesystemWatchers, |
|
|
|
0, 2147483647 ) ); |
|
|
|
|
|
|
|
configParams.push_back( new PARAM_CFG_INT( true, AC_KEYS::MinorSchematicGraphSize, |
|
|
|
&m_MinorSchematicGraphSize, m_MinorSchematicGraphSize, |
|
|
|
0, 2147483647 ) ); |
|
|
|
|
|
|
|
// Special case for trace mask setting...we just grab them and set them immediately
|
|
|
|
// Because we even use wxLogTrace inside of advanced config
|
|
|
|
wxString traceMasks; |
|
|
|
|