Won’t build in release mode - changingParams is debug only, but is accessed in all code.
I just did:
#ifdef JUCE_DEBUG
jassert (changingParams [parameterIndex]);
#endif
or similar in three places.
Bruce
Won’t build in release mode - changingParams is debug only, but is accessed in all code.
I just did:
#ifdef JUCE_DEBUG
jassert (changingParams [parameterIndex]);
#endif
or similar in three places.
Bruce
Whoops. I normally have assertions turned off in release mode, but I’ll add that extra #ifdef like you suggest.
Looks like version 1.45 still doesn’t behave correctly with changingParams: the beginParameterChangeGesture doesn’t seem to set any element of changingParams to 1, thus causing the assert
jassert (changingParams [parameterIndex]);
in endParameterChangeGesture to fail anyway.
Has this been fixed already?
Sorry, that was still in there. Fix is checked in now.