diff options
author | Carl Hetherington <carl@carlh.net> | 2010-08-09 16:40:31 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-08-09 16:40:31 +0000 |
commit | 5b520324ceab2559723b4ef5127301fa61ff4846 (patch) | |
tree | 13850a356fabdcbd55ca527fc5faf2fda63cb209 /libs/ardour/session_command.cc | |
parent | aa9fd3334976ceae7e164c3fabc87e55fc921dff (diff) |
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
Diffstat (limited to 'libs/ardour/session_command.cc')
-rw-r--r-- | libs/ardour/session_command.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/session_command.cc b/libs/ardour/session_command.cc index dc918dfe1c..8d3ce793bc 100644 --- a/libs/ardour/session_command.cc +++ b/libs/ardour/session_command.cc @@ -103,13 +103,13 @@ Session::memento_command_factory(XMLNode *n) return new MementoCommand<Source>(*sources[id], before, after); } else if (obj_T == "ARDOUR::Location") { - Location* loc = _locations.get_location_by_id(id); + Location* loc = _locations->get_location_by_id(id); if (loc) { return new MementoCommand<Location>(*loc, before, after); } } else if (obj_T == "ARDOUR::Locations") { - return new MementoCommand<Locations>(_locations, before, after); + return new MementoCommand<Locations>(*_locations, before, after); } else if (obj_T == "ARDOUR::TempoMap") { return new MementoCommand<TempoMap>(*_tempo_map, before, after); |