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

Fixed a plug-in hosting parameter group bug

This commit is contained in:
Tom Poole 2018-09-14 08:46:08 +01:00
parent d56e4c3cc3
commit a20a6141c5
2 changed files with 2 additions and 3 deletions

View file

@ -1415,6 +1415,7 @@ public:
isBoolean,
label,
(info.flags & kAudioUnitParameterFlag_ValuesHaveStrings) != 0);
addParameterInternal (parameter);
if (info.flags & kAudioUnitParameterFlag_HasClump)
{
@ -1456,8 +1457,6 @@ public:
{
parameterGroups.addChild (std::unique_ptr<AudioProcessorParameter> (parameter));
}
addParameter (parameter);
}
}
}

View file

@ -2554,7 +2554,7 @@ private:
auto* param = new VST3Parameter (*this,
paramInfo.id,
(paramInfo.flags & Vst::ParameterInfo::kCanAutomate) != 0);
addParameter (param);
addParameterInternal (param);
if ((paramInfo.flags & Vst::ParameterInfo::kIsBypass) != 0)
bypassParam = param;