Compare commits
2 Commits
25e70f3f99
...
f1e44c6acf
| Author | SHA1 | Date | |
|---|---|---|---|
| f1e44c6acf | |||
| 65506891f6 |
@ -6,7 +6,7 @@ ardour {
|
|||||||
description = [[Rename selected regions using track name and label of range marker at region start]]
|
description = [[Rename selected regions using track name and label of range marker at region start]]
|
||||||
}
|
}
|
||||||
|
|
||||||
function factory ()
|
function factory()
|
||||||
-- there is currently no direct way to find the track
|
-- there is currently no direct way to find the track
|
||||||
-- corresponding to a [selected] region
|
-- corresponding to a [selected] region
|
||||||
function find_track_for_region(region_id)
|
function find_track_for_region(region_id)
|
||||||
@ -20,7 +20,7 @@ function factory ()
|
|||||||
assert (0) -- can't happen, region must be in a playlist
|
assert (0) -- can't happen, region must be in a playlist
|
||||||
end
|
end
|
||||||
|
|
||||||
return function ()
|
return function()
|
||||||
local sel = Editor:get_selection () -- get current selection
|
local sel = Editor:get_selection () -- get current selection
|
||||||
local loc = Session:locations() -- get locations
|
local loc = Session:locations() -- get locations
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user