monitor send does not count in Route::nth_send()
This commit is contained in:
parent
66686a4e2a
commit
7513176501
@ -4515,6 +4515,14 @@ 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() == _("Monitor")) {
|
||||
/* send to monitor section is not considered
|
||||
to be an accessible send.
|
||||
*/
|
||||
continue;
|
||||
}
|
||||
|
||||
if (n-- == 0) {
|
||||
return *i;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user