fix luabindings for Editor.mouse_add_new_marker(), since API changed
This commit is contained in:
parent
b1f73d25bf
commit
8a49d274fb
@ -2615,6 +2615,7 @@ LuaBindings::common (lua_State* L)
|
||||
.addConst ("IsAutoLoop", ARDOUR::Location::Flags(Location::IsAutoLoop))
|
||||
.addConst ("IsHidden", ARDOUR::Location::Flags(Location::IsHidden))
|
||||
.addConst ("IsCDMarker", ARDOUR::Location::Flags(Location::IsCDMarker))
|
||||
.addConst ("IsCueMarker", ARDOUR::Location::Flags(Location::IsCueMarker))
|
||||
.addConst ("IsRangeMarker", ARDOUR::Location::Flags(Location::IsRangeMarker))
|
||||
.addConst ("IsSessionRange", ARDOUR::Location::Flags(Location::IsSessionRange))
|
||||
.addConst ("IsSkip", ARDOUR::Location::Flags(Location::IsSkip))
|
||||
|
@ -2,6 +2,6 @@ ardour { ["type"] = "EditorAction", name = "Add CD marker" }
|
||||
function
|
||||
factory ()
|
||||
return function ()
|
||||
Editor:mouse_add_new_marker (Session:transport_sample(), true)
|
||||
Editor:mouse_add_new_marker (Session:transport_sample(), Location.IsCDMarker)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user