Detect monitor-send by instance, not name

This commit is contained in:
Robin Gareus 2019-08-23 01:05:57 +02:00
parent 22aa61b674
commit b858b3b692
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -4534,10 +4534,10 @@ Route::nth_send (uint32_t n) const
for (i = _processors.begin(); i != _processors.end(); ++i) {
if (boost::dynamic_pointer_cast<Send> (*i)) {
if ((*i)->name().find (_("Monitor")) == 0) {
if ((*i) == _monitor_send) {
/* send to monitor section is not considered
to be an accessible send.
*/
* to be an accessible send.
*/
continue;
}