From 81884522025e2147e309b8042bbbc6ebcd927cc7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 22 May 2012 15:33:57 +0000 Subject: Fix crash when setting nodes polyphonic. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4433 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/PatchImpl.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/server/PatchImpl.cpp') diff --git a/src/server/PatchImpl.cpp b/src/server/PatchImpl.cpp index fefc797e..43a8ea01 100644 --- a/src/server/PatchImpl.cpp +++ b/src/server/PatchImpl.cpp @@ -109,10 +109,6 @@ PatchImpl::prepare_internal_poly(BufferFactory& bufs, uint32_t poly) for (Nodes::iterator i = _nodes.begin(); i != _nodes.end(); ++i) (*i)->prepare_poly(bufs, poly); - for (Nodes::iterator i = _nodes.begin(); i != _nodes.end(); ++i) - for (uint32_t j = 0; j < (*i)->num_ports(); ++j) - (*i)->port_impl(j)->prepare_poly_buffers(bufs); - return true; } @@ -433,7 +429,7 @@ PatchImpl::build_ports_array() const /** Find the process order for this Patch. * * The process order is a flat list that the patch will execute in order - * when it's run() method is called. Return value is a newly allocated list + * when its run() method is called. Return value is a newly allocated list * which the caller is reponsible to delete. Note that this function does * NOT actually set the process order, it is returned so it can be inserted * at the beginning of an audio cycle (by various Events). -- cgit v1.2.1