From a147df82930aa187b7f1f8a4e6cf4459e500b087 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 22 May 2012 17:13:57 +0000 Subject: Fix crash when connecting control port to audio output on the root patch. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4434 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/InputPort.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/server') diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp index 3ff8cd41..8cb6415b 100644 --- a/src/server/InputPort.cpp +++ b/src/server/InputPort.cpp @@ -226,6 +226,7 @@ bool InputPort::direct_connect() const { return _edges.size() == 1 + && !_parent->path().is_root() && !_edges.front().must_mix() && !_edges.front().must_queue(); } -- cgit v1.2.1