summaryrefslogtreecommitdiffstats
path: root/src/server/PatchImpl.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-22 15:33:57 +0000
committerDavid Robillard <d@drobilla.net>2012-05-22 15:33:57 +0000
commit81884522025e2147e309b8042bbbc6ebcd927cc7 (patch)
tree39bc63bd84c647a8d889d939bde659639bb4f95e /src/server/PatchImpl.cpp
parentb1d4027b58465d9cc31d6cb1be05a7ff4f202711 (diff)
downloadingen-81884522025e2147e309b8042bbbc6ebcd927cc7.tar.gz
ingen-81884522025e2147e309b8042bbbc6ebcd927cc7.tar.bz2
ingen-81884522025e2147e309b8042bbbc6ebcd927cc7.zip
Fix crash when setting nodes polyphonic.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4433 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/PatchImpl.cpp')
-rw-r--r--src/server/PatchImpl.cpp6
1 files changed, 1 insertions, 5 deletions
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).