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:
parent
d56e4c3cc3
commit
a20a6141c5
2 changed files with 2 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue