VCA spill should not show hidden tracks
authorRobin Gareus <robin@gareus.org>
Fri, 17 Feb 2017 23:09:52 +0000 (00:09 +0100)
committerRobin Gareus <robin@gareus.org>
Fri, 17 Feb 2017 23:09:52 +0000 (00:09 +0100)
gtk2_ardour/mixer_ui.cc

index 53cdca05a72eb9b87e093d35b9a42efab075a870..7d27e54654c996127a4d5a1c0c6b857cadba6f92 100644 (file)
@@ -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 */