diff options
author | Robin Gareus <robin@gareus.org> | 2016-07-16 04:14:27 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-07-16 04:14:27 +0200 |
commit | 19a9d8415f2b63ce96fe25847553f4169e62804b (patch) | |
tree | bbf975457edd0380cb55d483a4236250c1857c62 | |
parent | 786cb746d0ce387a6194555e6757ec64c937690b (diff) |
allow inserts to connect it itself - #6924
-rw-r--r-- | libs/ardour/route.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 46b17cdbc7..e59677f44c 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -3173,6 +3173,10 @@ Route::direct_feeds_according_to_reality (boost::shared_ptr<Route> other, bool* if (iop != 0) { boost::shared_ptr<const IO> iop_out = iop->output(); + if (other.get() == this && iop_out && iop->input() && iop_out->connected_to (iop->input())) { + DEBUG_TRACE (DEBUG::Graph, string_compose ("\tIOP %1 does feed its own return (%2)\n", iop->name(), other->name())); + continue; + } if ((iop_out && other->all_inputs().fed_by (iop_out)) || iop->feeds (other)) { DEBUG_TRACE (DEBUG::Graph, string_compose ("\tIOP %1 does feed %2\n", iop->name(), other->name())); if (via_send_only) { |