mirror of
https://github.com/storytold/soundcraft.git
synced 2026-12-01 18:26:25 -06:00
* Keep locked clips whole when a range is cleared or a clip is placed over them clear_range removed a time- or edit-locked clip lying entirely inside the range, so edit.clear and edit.cut deleted it (#1434), and place_clip, which clears what the new clip covers, destroyed it on import, record, Place Audio File and paste (#1435). Locked clips now stay whole and a placed clip overlaps them. In Shuffle a locked clip left in the range holds the clips after it. Consolidate and Prepare DPE Tracks refuse a range holding a locked clip, since they would render it into the new clip. Event Cut Time keeps removing locked clips through clear_all_range. Fixes #1434 Fixes #1435 * Format the placing test * Keep a locked clip off the clipboard on Cut and out of Move Selection Cut and the Move Selection To commands copied the whole range, then cleared it. Since a time- or edit-locked clip now stays in place, it ended up both in place and on the clipboard (or the destination playlist), so pasting duplicated it. Both now carry only what the clear removes (`take_range`). Copy and Copy Selection To still copy locked clips. Also pin down that a Shuffle clear over several tracks holds only the track whose locked clip the range covers part of.