mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-20 01:14:20 +00:00
VST3: Added a nullptr check before dereferencing juceVST3EditController in processParameterChanges() to fix a crash in Live
This commit is contained in:
parent
36187fb170
commit
7b43ac0cfe
1 changed files with 1 additions and 1 deletions
|
|
@ -2427,7 +2427,7 @@ public:
|
|||
pluginInstance->setCurrentProgram (programValue);
|
||||
}
|
||||
#if JUCE_VST3_EMULATE_MIDI_CC_WITH_PARAMETERS
|
||||
else if (juceVST3EditController->isMidiControllerParamID (vstParamID))
|
||||
else if (juceVST3EditController != nullptr && juceVST3EditController->isMidiControllerParamID (vstParamID))
|
||||
addParameterChangeToMidiBuffer (offsetSamples, vstParamID, value);
|
||||
#endif
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue