OSC: personal monitor send hidden follows aux hidden
[ardour.git] / libs / ardour / route.cc
index d9cee574416eb77b23c877e2888539d1f1250636..1eca850da3518cbb926b12f0294e8f29aafa910e 100644 (file)
@@ -4662,9 +4662,13 @@ Route::setup_invisible_processors ()
        /* find visible processors */
 
        for (ProcessorList::iterator i = _processors.begin(); i != _processors.end(); ++i) {
+               boost::shared_ptr<Send> auxsnd = boost::dynamic_pointer_cast<Send> ((*i));
                if ((*i)->display_to_user ()) {
                        new_processors.push_back (*i);
                }
+               else if (auxsnd && auxsnd->is_aux ()) {
+                       new_processors.push_back (*i);
+               }
        }
 
        /* find the amp */
@@ -5642,7 +5646,7 @@ Route::send_pan_azi_controllable (uint32_t n) const
                }
        }
 #endif
-       
+
        return boost::shared_ptr<AutomationControl>();
 }