From fc57e53e2554aa1a654d66bb7b97a8738bb77fb5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 9 Jun 2011 03:41:17 +0000 Subject: Automatically resize modules at update time as necessary. This avoids the huge multiple resize performance problems of the past without requiring the user to manually resize modules. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3375 a436a847-0d15-0410-975c-d299462d15a1 --- src/PatchageEvent.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/PatchageEvent.cpp') diff --git a/src/PatchageEvent.cpp b/src/PatchageEvent.cpp index 32136e3..cf53c03 100644 --- a/src/PatchageEvent.cpp +++ b/src/PatchageEvent.cpp @@ -72,9 +72,7 @@ PatchageEvent::execute(Patchage* patchage) if (driver) { PatchagePort* port = driver->create_port_view(patchage, _port_1); - if (port) - patchage->enqueue_resize(port->module()); - else + if (!port) Raul::error << "Unable to create port view: " << _port_1 << endl; } else { Raul::error << "Attempt to create port with unknown type: " << _port_1 << endl; -- cgit v1.2.1