projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6180c5a
)
OSC: allow mixbuses to show
author
Len Ovens
<len@ovenwerks.net>
Thu, 22 Jun 2017 17:20:02 +0000
(10:20 -0700)
committer
Len Ovens
<len@ovenwerks.net>
Thu, 22 Jun 2017 17:20:48 +0000
(10:20 -0700)
libs/surfaces/osc/osc.cc
patch
|
blob
|
history
diff --git
a/libs/surfaces/osc/osc.cc
b/libs/surfaces/osc/osc.cc
index f4f7fa807ec47c168eabef5b609fa8aa4f232bcb..9ac31b316220972b2eb1907515af876a373fd78f 100644
(file)
--- a/
libs/surfaces/osc/osc.cc
+++ b/
libs/surfaces/osc/osc.cc
@@
-46,6
+46,7
@@
#include "ardour/plugin.h"
#include "ardour/plugin_insert.h"
#include "ardour/presentation_info.h"
#include "ardour/plugin.h"
#include "ardour/plugin_insert.h"
#include "ardour/presentation_info.h"
+#include "ardour/profile.h"
#include "ardour/send.h"
#include "ardour/internal_send.h"
#include "ardour/phase_control.h"
#include "ardour/send.h"
#include "ardour/internal_send.h"
#include "ardour/phase_control.h"
@@
-4813,6
+4814,15
@@
OSC::get_sorted_stripables(std::bitset<32> types, bool cue)
} else if (types[9] && (s->presentation_info().flags() & PresentationInfo::Hidden)) {
sorted.push_back (s);
}
} else if (types[9] && (s->presentation_info().flags() & PresentationInfo::Hidden)) {
sorted.push_back (s);
}
+#ifdef MIXBUS
+ else if (types[2]) {
+ if (Profile->get_mixbus()) {
+ if (s->mixbus()) {
+ sorted.push_back (s);
+ }
+ }
+ }
+#endif
}
}
sort (sorted.begin(), sorted.end(), StripableByPresentationOrder());
}
}
sort (sorted.begin(), sorted.end(), StripableByPresentationOrder());