From 19a9d8415f2b63ce96fe25847553f4169e62804b Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 16 Jul 2016 04:14:27 +0200 Subject: [PATCH] allow inserts to connect it itself - #6924 --- libs/ardour/route.cc | 4 ++++ 1 file changed, 4 insertions(+) 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 other, bool* if (iop != 0) { boost::shared_ptr 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) {