summaryrefslogtreecommitdiff
path: root/libs/ardour/location_importer.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-08-09 16:40:31 +0000
committerCarl Hetherington <carl@carlh.net>2010-08-09 16:40:31 +0000
commit5b520324ceab2559723b4ef5127301fa61ff4846 (patch)
tree13850a356fabdcbd55ca527fc5faf2fda63cb209 /libs/ardour/location_importer.cc
parentaa9fd3334976ceae7e164c3fabc87e55fc921dff (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/location_importer.cc')
-rw-r--r--libs/ardour/location_importer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/location_importer.cc b/libs/ardour/location_importer.cc
index 8d6af300ca..1674616096 100644
--- a/libs/ardour/location_importer.cc
+++ b/libs/ardour/location_importer.cc
@@ -133,7 +133,7 @@ bool
LocationImporter::_prepare_move ()
{
try {
- Location const original (xml_location);
+ Location const original (session, xml_location);
location = new Location (original); // Updates id
} catch (failed_constructor& err) {
throw std::runtime_error (X_("Error in session file!"));