packaging tweaks for OS X
[ardour.git] / gtk2_ardour / editor_export_audio.cc
index 4a0424eb871272654557e84157cd094bd70b19e8..ac0c3f67c4456eb86fd01b8c9977c1fe8efcaeb2 100644 (file)
@@ -161,7 +161,13 @@ Editor::bounce_region_selection (bool with_processing)
 
                InterThreadInfo itt;
 
-               boost::shared_ptr<Region> r = track->bounce_range (region->position(), region->position() + region->length(), itt, with_processing);
+               boost::shared_ptr<Region> 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<Processor>(), false);
+               }
        }
 }