From 13a7612ef6b9f7956fe5de253d2503dfdf30c4b5 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 6 Dec 2012 12:46:27 +0000 Subject: [PATCH] make bus stem export possible (from colinf) (#4745) git-svn-id: svn://localhost/ardour2/branches/3.0@13606 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/export_channel_selector.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gtk2_ardour/export_channel_selector.cc b/gtk2_ardour/export_channel_selector.cc index 78dd8d20f8..27e6ffaa50 100644 --- a/gtk2_ardour/export_channel_selector.cc +++ b/gtk2_ardour/export_channel_selector.cc @@ -569,6 +569,18 @@ TrackExportChannelSelector::fill_list() track_list->clear(); RouteList routes = *_session->get_routes(); + for (RouteList::iterator it = routes.begin(); it != routes.end(); ++it) { + Route * route = it->get(); + if(!dynamic_cast(route)) { + // not a track, must be a bus + if ((*it)->is_master () || (*it)->is_monitor ()) { + continue; + } + // not monitor or master bus + + add_track(route); + } + } for (RouteList::iterator it = routes.begin(); it != routes.end(); ++it) { Route * route = it->get(); if(dynamic_cast(route)) {