1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Projucer: Fixed a bug where per-exporter SDK paths would not be saved/recalled correctly

This commit is contained in:
ed 2018-10-23 10:17:38 +01:00
parent f57237df83
commit c407d528b1
3 changed files with 8 additions and 10 deletions

View file

@ -136,9 +136,9 @@ public:
//==============================================================================
void initialiseDependencyPathValues() override
{
vst3PathValueWrapper.init (Ids::vst3Path, TargetOS::windows);
aaxPathValueWrapper .init (Ids::aaxPath, TargetOS::windows);
rtasPathValueWrapper.init (Ids::rtasPath, TargetOS::windows);
vst3PathValueWrapper.init (settings, Ids::vst3Path, TargetOS::windows);
aaxPathValueWrapper .init (settings, Ids::aaxPath, TargetOS::windows);
rtasPathValueWrapper.init (settings, Ids::rtasPath, TargetOS::windows);
}
//==============================================================================

View file

@ -445,9 +445,9 @@ public:
//==============================================================================
void initialiseDependencyPathValues() override
{
vst3PathValueWrapper.init (Ids::vst3Path, TargetOS::osx);
aaxPathValueWrapper .init (Ids::aaxPath, TargetOS::osx);
rtasPathValueWrapper.init (Ids::rtasPath, TargetOS::osx);
vst3PathValueWrapper.init (settings, Ids::vst3Path, TargetOS::osx);
aaxPathValueWrapper .init (settings, Ids::aaxPath, TargetOS::osx);
rtasPathValueWrapper.init (settings, Ids::rtasPath, TargetOS::osx);
}
protected:

View file

@ -374,7 +374,7 @@ protected:
// Used for the VST3, RTAS and AAX project-specific path options.
struct ValueWithDefaultWrapper : public Value::Listener
{
void init (const Identifier& identifierToUse, TargetOS::OS targetOS)
void init (ValueTree tree, const Identifier& identifierToUse, TargetOS::OS targetOS)
{
identifier = identifierToUse;
os = targetOS;
@ -391,12 +391,10 @@ protected:
}
ValueWithDefault wrappedValue;
Value globalValue;
Identifier identifier;
TargetOS::OS os;
ValueTree tree { "tree" };
Value globalValue;
};
ValueWithDefaultWrapper vst3PathValueWrapper, rtasPathValueWrapper, aaxPathValueWrapper;