From a5c1a7feaf729d16c1d60c90dccbf68b42a6def4 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 3 Nov 2024 14:05:36 +0100 Subject: [PATCH] Use new marker API in Lua scripts --- share/scripts/add_cdmarker.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/scripts/add_cdmarker.lua b/share/scripts/add_cdmarker.lua index 6636b8d198..393e3db1c0 100644 --- a/share/scripts/add_cdmarker.lua +++ b/share/scripts/add_cdmarker.lua @@ -2,6 +2,6 @@ ardour { ["type"] = "EditorAction", name = "Add CD marker" } function factory () return function () - Editor:mouse_add_new_marker (Temporal.timepos_t (Session:transport_sample()), ARDOUR.LocationFlags.IsCDMarker, 0) + Editor:add_location_mark (Temporal.timepos_t (Session:transport_sample()), ARDOUR.LocationFlags.IsCDMarker, 0) end end