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/export_profile_manager.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/export_profile_manager.cc')
-rw-r--r-- | libs/ardour/export_profile_manager.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/export_profile_manager.cc b/libs/ardour/export_profile_manager.cc index 53e6338a12..521f72747f 100644 --- a/libs/ardour/export_profile_manager.cc +++ b/libs/ardour/export_profile_manager.cc @@ -52,7 +52,7 @@ ExportProfileManager::ExportProfileManager (Session & s) : handler (s.get_export_handler()), session (s), - session_range (new Location ()), + session_range (new Location (s)), ranges (new LocationList ()), single_range_mode (false), @@ -286,7 +286,7 @@ ExportProfileManager::set_selection_range (nframes_t start, nframes_t end) { if (start || end) { - selection_range.reset (new Location()); + selection_range.reset (new Location (session)); selection_range->set_name (_("Selection")); selection_range->set (start, end); } else { @@ -303,7 +303,7 @@ ExportProfileManager::set_single_range (nframes_t start, nframes_t end, Glib::us { single_range_mode = true; - single_range.reset (new Location()); + single_range.reset (new Location (session)); single_range->set_name (name); single_range->set (start, end); |