Allow markers to be glued to bar/beat time. Fixes #1815.

git-svn-id: svn://localhost/ardour2/branches/3.0@7573 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-08-09 16:40:31 +00:00
parent aa9fd33349
commit 5b520324ce
18 changed files with 218 additions and 90 deletions

View file

@ -95,7 +95,7 @@ void
BasicUI::add_marker ()
{
nframes_t when = session->audible_frame();
session->locations()->add (new Location (when, when, _("unnamed"), Location::IsMark));
session->locations()->add (new Location (*session, when, when, _("unnamed"), Location::IsMark));
}
void