diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-05-10 13:17:32 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-06-29 14:18:12 -0400 |
commit | 0b1a10b2d5d6c45749a59de2cc0117b026ae948c (patch) | |
tree | b66e75ba9506426d61333e6f7936d73c49890b69 /libs/ardour/export_profile_manager.cc | |
parent | 14226356d8e73aabe498ccad77e55bde8e6b6d6f (diff) |
make use of loop range as default export range being Tracks specific
Diffstat (limited to 'libs/ardour/export_profile_manager.cc')
-rw-r--r-- | libs/ardour/export_profile_manager.cc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libs/ardour/export_profile_manager.cc b/libs/ardour/export_profile_manager.cc index a9327e2215..b72e9e3332 100644 --- a/libs/ardour/export_profile_manager.cc +++ b/libs/ardour/export_profile_manager.cc @@ -392,8 +392,14 @@ ExportProfileManager::init_timespans (XMLNodeList nodes) timespans.push_back (state); // Add session as default selection - Location * session_range = (session.get_play_loop () ? session.locations()->auto_loop_location () : - session.locations()->session_range_location()); + Location * session_range; + + if (Profile->get_trx()) { + session_range = (session.get_play_loop () ? session.locations()->auto_loop_location () : session.locations()->session_range_location()); + } else { + session_range = session.locations()->session_range_location(); + } + if (!session_range) { return false; } ExportTimespanPtr timespan = handler->add_timespan(); |