This command should do the following:
- Re-assigns clips to Take Lanes so that the least number of Take Lanes are used.
- Remove unused take lanes.
- Re-number the take lanes. (if necessary, could just re-assign clips to Lane1,2,3... etc as required)
Document that this function will discard/reset the association between clip and "physical take #".
When complete, the track will contain the minimum number of take lanes required to hold all clips without forcing clips to overlap in a single lane.
Justification:
I don't record in "takes" as such. I know I'm not the only user who records tracks in sections in sound-on-sound mode. By the time I've finished laying down the bass, I could have 25 lanes, each with a single clip. In order to start trimming and reviewing, I need to (well, desire to) manually re-assign clips to lanes, for convenience.
I know the algorithm to perform this operation exists in your code base, because SONAR X1 and earlier did it for Track Layers. Please restore this command to the SONAR toolbox.