mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-14 00:14:18 +00:00
Projucer: Fixed a bug where preprocessor definitions weren't being parsed initially and fixed a typo
This commit is contained in:
parent
bed0f02e54
commit
780902b492
2 changed files with 8 additions and 4 deletions
|
|
@ -59,10 +59,12 @@ Project::Project (const File& f)
|
|||
moveOldPropertyFromProjectToAllExporters (Ids::bigIcon);
|
||||
moveOldPropertyFromProjectToAllExporters (Ids::smallIcon);
|
||||
|
||||
intialiseProjectValues();
|
||||
initialiseProjectValues();
|
||||
initialiseMainGroup();
|
||||
initialiseAudioPluginValues();
|
||||
|
||||
parsedPreprocessorDefs = parsePreprocessorDefs (preprocessorDefsValue.get());
|
||||
|
||||
getModules().sortAlphabetically();
|
||||
|
||||
projectRoot.addListener (this);
|
||||
|
|
@ -170,7 +172,7 @@ void Project::initialiseMainGroup()
|
|||
getMainGroup().initialiseMissingProperties();
|
||||
}
|
||||
|
||||
void Project::intialiseProjectValues()
|
||||
void Project::initialiseProjectValues()
|
||||
{
|
||||
projectNameValue.referTo (projectRoot, Ids::name, getUndoManagerFor (projectRoot), "JUCE Project");
|
||||
projectUIDValue.referTo (projectRoot, Ids::ID, getUndoManagerFor (projectRoot), createAlphaNumericUID());
|
||||
|
|
@ -412,10 +414,12 @@ Result Project::loadDocument (const File& file)
|
|||
enabledModulesList.reset();
|
||||
projectRoot = newTree;
|
||||
|
||||
intialiseProjectValues();
|
||||
initialiseProjectValues();
|
||||
initialiseMainGroup();
|
||||
initialiseAudioPluginValues();
|
||||
|
||||
parsedPreprocessorDefs = parsePreprocessorDefs (preprocessorDefsValue.get());
|
||||
|
||||
removeDefunctExporters();
|
||||
updateOldModulePaths();
|
||||
setChangedFlag (false);
|
||||
|
|
|
|||
|
|
@ -356,7 +356,7 @@ private:
|
|||
StringPairArray parsedPreprocessorDefs;
|
||||
|
||||
//==============================================================================
|
||||
void intialiseProjectValues();
|
||||
void initialiseProjectValues();
|
||||
void initialiseMainGroup();
|
||||
void initialiseAudioPluginValues();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue