summaryrefslogtreecommitdiff
path: root/libs/ardour/luabindings.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2019-02-07 13:29:59 -0600
committerBen Loftis <ben@harrisonconsoles.com>2019-02-12 11:34:50 -0600
commit37d28c63db9d10e50fc34bbedea016e3949227b1 (patch)
treec329a57dfa7be13e82cd0649072cafc75d2b1e17 /libs/ardour/luabindings.cc
parent983875ffc8c6adb529a10f88e539ecef359ead1d (diff)
Selection-after-split behavior ( libardour part )
Diffstat (limited to 'libs/ardour/luabindings.cc')
-rw-r--r--libs/ardour/luabindings.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/luabindings.cc b/libs/ardour/luabindings.cc
index f3eac8529f..39fe95cd63 100644
--- a/libs/ardour/luabindings.cc
+++ b/libs/ardour/luabindings.cc
@@ -2039,6 +2039,12 @@ LuaBindings::common (lua_State* L)
.addConst ("ExistingNewlyCreatedBoth", ARDOUR::RegionSelectionAfterSplit(ExistingNewlyCreatedBoth))
.endNamespace ()
+ .beginNamespace ("RangeSelectionAfterSplit")
+ .addConst ("ClearSel", ARDOUR::RangeSelectionAfterSplit(ClearSel))
+ .addConst ("PreserveSel", ARDOUR::RangeSelectionAfterSplit(PreserveSel))
+ .addConst ("ForceSel", ARDOUR::RangeSelectionAfterSplit(ForceSel))
+ .endNamespace ()
+
.beginNamespace ("ShuttleBehaviour")
.addConst ("Sprung", ARDOUR::ShuttleBehaviour(Sprung))
.addConst ("Wheel", ARDOUR::ShuttleBehaviour(Wheel))