summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_ui.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-02-18 00:09:52 +0100
committerRobin Gareus <robin@gareus.org>2017-02-18 00:09:52 +0100
commit4258bad19dfd3e230498d222c52e2566c6666c20 (patch)
treea01c65255af13523faeeff63732e6621f0c6812e /gtk2_ardour/mixer_ui.cc
parentdcce5f00804d839857c4054157af37a8f73788f8 (diff)
VCA spill should not show hidden tracks
Diffstat (limited to 'gtk2_ardour/mixer_ui.cc')
-rw-r--r--gtk2_ardour/mixer_ui.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/mixer_ui.cc b/gtk2_ardour/mixer_ui.cc
index 53cdca05a7..7d27e54654 100644
--- a/gtk2_ardour/mixer_ui.cc
+++ b/gtk2_ardour/mixer_ui.cc
@@ -1340,6 +1340,7 @@ Mixer_UI::spill_redisplay (boost::shared_ptr<VCA> vca)
AxisView* av = (*i)[stripable_columns.strip];
MixerStrip* strip = dynamic_cast<MixerStrip*> (av);
+ bool const visible = (*i)[stripable_columns.visible];
if (!strip) {
/* we're in the middle of changing a row, don't worry */
@@ -1363,7 +1364,7 @@ Mixer_UI::spill_redisplay (boost::shared_ptr<VCA> vca)
}
}
- if (slaved) {
+ if (slaved && visible) {
if (strip->packed()) {
strip_packer.reorder_child (*strip, -1); /* put at end */