summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/engine/PatchImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/PatchImpl.cpp b/src/engine/PatchImpl.cpp
index c5327e44..5d3b07a5 100644
--- a/src/engine/PatchImpl.cpp
+++ b/src/engine/PatchImpl.cpp
@@ -138,7 +138,7 @@ PatchImpl::apply_internal_poly(ProcessContext& context, BufferFactory& bufs, Rau
}
}
- const bool polyphonic = parent_patch() && (_internal_poly == parent_patch()->internal_poly());
+ const bool polyphonic = parent_patch() && (poly == parent_patch()->internal_poly());
for (List<PortImpl*>::iterator i = _output_ports.begin(); i != _output_ports.end(); ++i)
(*i)->setup_buffers(bufs, polyphonic ? poly : 1);