X-Raym / REAPER-ReaScripts

X-Raym's Free and Open Source Scripts for Cockos REAPER.
http://www.extremraym.com/en/my-reaper-scripts/
GNU General Public License v3.0
183 stars 50 forks source link

Bug: X-Raym_Move selected tracks down on visible track list.lua can occasionally nuke folders #14

Closed ScottChesworth closed 1 year ago

ScottChesworth commented 4 years ago

Hi X-Raym,

Just stumbled across a workflow that seems to cause this script to zap a folder from existence. Try this:

  1. Create 3 tracks.

  2. Name tracks 1-3 "Uno", "Dos" and "Tres" respectively (just seems easier to describe this with track names instead of numbers).

  3. Make Uno a folder, and Tres the end of the folder.

  4. Select Dos and run "Move selected tracks down on visible track list.lua". The track moves down as expected, and the end of folder is correctly reassigned to Tres, which is now track 2. But...

  5. Now select Tres and run "Move selected tracks down on visible track list.lua" again. This time, Tres moves down as expected, but the folder routing disappears entirely.

Thanks in advance if there's anything you can do to tighten this up.

X-Raym commented 4 years ago

@ScottChesworth Hi, Can you make a screen capture of this ?

Thx!

X-Raym commented 1 year ago

I think this has been fixed now.