mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-05 21:25:46 +01:00
Lua: allow cast of ControlList to AL (for undo)
see also https://discourse.ardour.org/t/write-cc-automation-to-midi-region-via-lua/105512
This commit is contained in:
parent
129e654500
commit
18882ef17c
1 changed files with 1 additions and 0 deletions
|
|
@ -564,6 +564,7 @@ LuaBindings::common (lua_State* L)
|
|||
.endClass ()
|
||||
|
||||
.beginWSPtrClass <Evoral::ControlList> ("ControlList")
|
||||
.addCast<AutomationList> ("to_automationlist")
|
||||
.addFunction ("add", &Evoral::ControlList::add)
|
||||
.addFunction ("editor_add", &Evoral::ControlList::editor_add)
|
||||
.addFunction ("thin", &Evoral::ControlList::thin)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue