From f07ca6397f5699e4dc4ec1e360f9e263d8a0d9ad Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 15 Mar 2012 21:40:17 +0000 Subject: radically rethink export/bounce/freeze code design. probably not 100% done by freeze+unfreeze now work and behave sensibly w.r.t. processors that do routing git-svn-id: svn://localhost/ardour2/branches/3.0@11701 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_export_audio.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour/editor_export_audio.cc') diff --git a/gtk2_ardour/editor_export_audio.cc b/gtk2_ardour/editor_export_audio.cc index 4a0424eb87..ac0c3f67c4 100644 --- a/gtk2_ardour/editor_export_audio.cc +++ b/gtk2_ardour/editor_export_audio.cc @@ -161,7 +161,13 @@ Editor::bounce_region_selection (bool with_processing) InterThreadInfo itt; - boost::shared_ptr r = track->bounce_range (region->position(), region->position() + region->length(), itt, with_processing); + boost::shared_ptr r; + + if (with_processing) { + r = track->bounce_range (region->position(), region->position() + region->length(), itt, track->main_outs(), false); + } else { + r = track->bounce_range (region->position(), region->position() + region->length(), itt, boost::shared_ptr(), false); + } } } -- cgit v1.2.3