diff options
author | Len Ovens <len@ovenwerks.net> | 2017-08-21 08:40:22 -0700 |
---|---|---|
committer | Len Ovens <len@ovenwerks.net> | 2017-08-21 08:40:22 -0700 |
commit | 6b810b67d97954ebbe3f24fb9da9625b92e126f9 (patch) | |
tree | ae5a37e008a60476103ac194fc9bd9710e42d4fc /libs/surfaces | |
parent | 5a8bdf40f20c788dc68fd0478ab4b9399db1c0e0 (diff) |
OSC: aux bus detection fixed for mixbus
Diffstat (limited to 'libs/surfaces')
-rw-r--r-- | libs/surfaces/osc/osc.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/surfaces/osc/osc.cc b/libs/surfaces/osc/osc.cc index 76a3723fd6..6bde293aeb 100644 --- a/libs/surfaces/osc/osc.cc +++ b/libs/surfaces/osc/osc.cc @@ -5049,6 +5049,11 @@ OSC::get_sorted_stripables(std::bitset<32> types, bool cue) if (types[2] && Profile->get_mixbus() && s->mixbus()) { sorted.push_back (s); } else + if (types[7] && boost::dynamic_pointer_cast<Route>(s) && !boost::dynamic_pointer_cast<Track>(s)) { + if (Profile->get_mixbus() && !s->mixbus()) { + sorted.push_back (s); + } + } else #endif if ((types[2] || types[3] || types[7]) && boost::dynamic_pointer_cast<Route>(s) && !boost::dynamic_pointer_cast<Track>(s)) { boost::shared_ptr<Route> r = boost::dynamic_pointer_cast<Route>(s); |