mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-04 17:49:45 +02:00
Fix default EffectTypeProcess for Nyquist Prompt
Nyquist Prompt did not default to process type if a previous script in the current session set a different type.
This commit is contained in:
parent
07a2e9a010
commit
919712e3f7
@ -380,6 +380,11 @@ bool NyquistEffect::SetAutomationParameters(EffectAutomationParameters & parms)
|
||||
|
||||
bool NyquistEffect::Init()
|
||||
{
|
||||
// EffectType may not be defined in script, so
|
||||
// reset each time we call the Nyquist Prompt.
|
||||
if (mIsPrompt)
|
||||
mType = EffectTypeProcess;
|
||||
|
||||
// As of Audacity 2.1.2 rc1, 'spectral' effects are allowed only if
|
||||
// the selected track(s) are in a spectrogram view, and there is at
|
||||
// least one frequency bound and Spectral Selection is enabled for the
|
||||
|
Loading…
x
Reference in New Issue
Block a user