hotfix process-graph: include internal-send -> internal return
authorRobin Gareus <robin@gareus.org>
Mon, 11 Apr 2016 22:33:06 +0000 (00:33 +0200)
committerRobin Gareus <robin@gareus.org>
Mon, 11 Apr 2016 22:33:06 +0000 (00:33 +0200)
libs/ardour/route.cc

index ed23c0e23fa12233b54d5fce24ee17a9f538c424..730176405ee5e6a6cce8d4ae306e4c1d61423c32 100644 (file)
@@ -3622,7 +3622,7 @@ Route::all_inputs () const
                }
 
                if (iop != 0 && iop->input()) {
-               ios.push_back (iop->input());
+                       ios.push_back (iop->input());
                }
        }
        return ios;
@@ -3669,7 +3669,7 @@ 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 (iop_out && other->all_inputs().fed_by (iop_out)) {
+                       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) {
                                        *via_send_only = true;