From 6b810b67d97954ebbe3f24fb9da9625b92e126f9 Mon Sep 17 00:00:00 2001 From: Len Ovens Date: Mon, 21 Aug 2017 08:40:22 -0700 Subject: OSC: aux bus detection fixed for mixbus --- libs/surfaces/osc/osc.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libs/surfaces') 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(s) && !boost::dynamic_pointer_cast(s)) { + if (Profile->get_mixbus() && !s->mixbus()) { + sorted.push_back (s); + } + } else #endif if ((types[2] || types[3] || types[7]) && boost::dynamic_pointer_cast(s) && !boost::dynamic_pointer_cast(s)) { boost::shared_ptr r = boost::dynamic_pointer_cast(s); -- cgit v1.2.3