Skip to content

Commit

Permalink
Updated Updated DoomSquirrel_Performance Arm track for MIDI (sequenti…
Browse files Browse the repository at this point in the history
…al) = Get SELECTED_IDX (idx) and TRACK_NAME_Q (trq) from file name only if they're not already set in USER SETTINGS.
  • Loading branch information
tuomiorava committed Aug 3, 2024
1 parent 263e5ab commit ccaf2e6
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,11 @@ function doUnPerformanceArmTrack(track)
end

reaper.Undo_BeginBlock()
getParamsFromFileName()
-- Get params from file name, if not set in USER SETTINGS
if (not SELECTED_IDX and not TRACK_NAME_Q) then
getParamsFromFileName()
end
-- Get param from pressed hotkey, if not already set
if (not SELECTED_IDX) then
getIdxByKey()
end
Expand Down

0 comments on commit ccaf2e6

Please sign in to comment.