1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-17 16:50:26 +02:00

Enable (most) Nyquist property lists for tool scripts

The global *TRACK* variable and its properties remain unavailable for
;type tool scripts.
This commit is contained in:
Steve Daulton 2018-08-26 16:46:29 +01:00
parent bdf1cb32fe
commit 70467e1523

View File

@ -1061,10 +1061,12 @@ bool NyquistEffect::ProcessOne()
cmd += wxT("(setf *TRACK* '*unbound*)\n");
}
if( (mVersion >= 4) && (GetType() != EffectTypeTool) ) {
if(mVersion >= 4) {
cmd += mProps;
cmd += mPerTrackProps;
}
if( (mVersion >= 4) && (GetType() != EffectTypeTool) ) {
// Set the track TYPE and VIEW properties
wxString type;
wxString view;