Skip to content
Snippets Groups Projects
Commit 385f1162 authored by interpretivechaos's avatar interpretivechaos
Browse files

Removes updateParameterButtons from AudioNode

Removed the call to updateParameterButtons from audionode, which leads
to crash when adjusting the volume on slider.

The problem is that updateParameterButtons can't be called from any
editor that doesn't use the parameterEditors array. While this can be
fixed by just removing the call from all the processors, ideally there
would be a more robust way to check if it's used. Checking if
parameterEditors.size()==0 seems to catch it some times, but other
times seems to cause a crash. I'm not sure why it doesn't work: the
constructor for Juce Arrays specifies that numUsed should be equal to
zero for an unused Array, and parameterEditors should exist for all
editors that inherit from GenericEditor.
parent e638bea6
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment