Fix NIL spectral frequencies when running worker from Nyquist prompt

This commit is contained in:
Leland Lucius 2015-05-03 22:46:59 -05:00
parent 9f22789dc1
commit 01f28f645d
1 changed files with 4 additions and 0 deletions

View File

@ -678,6 +678,10 @@ bool NyquistEffect::ShowInterface(wxWindow *parent, bool forceModal)
effect.mDebug = (mUIResultID == eDebugID);
SelectedRegion region(mT0, mT1);
#ifdef EXPERIMENTAL_SPECTRAL_EDITING
region.setF0(mF0);
region.setF1(mF1);
#endif
return effect.DoEffect(parent,
mProjectRate,
mTracks,