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
@ -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…
Reference in New Issue
Block a user