aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-23 19:36:12 +0200
committerDavid Robillard <d@drobilla.net>2018-09-23 19:36:12 +0200
commit5a42be72e788864736425fbf1fe0e884767a483f (patch)
treee30982cb7c802669a0a6d21f38746216fa43ffbd /src
parent04b4d70f38402b1e4e4751157f42eb558bd60f9c (diff)
downloadingen-5a42be72e788864736425fbf1fe0e884767a483f.tar.gz
ingen-5a42be72e788864736425fbf1fe0e884767a483f.tar.bz2
ingen-5a42be72e788864736425fbf1fe0e884767a483f.zip
Instantiate duplicated internals with correct parent graph
Diffstat (limited to 'src')
-rw-r--r--src/server/InternalBlock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/InternalBlock.cpp b/src/server/InternalBlock.cpp
index 04cb32dc..cf57e6b2 100644
--- a/src/server/InternalBlock.cpp
+++ b/src/server/InternalBlock.cpp
@@ -39,7 +39,7 @@ InternalBlock::duplicate(Engine& engine,
BufferFactory& bufs = *engine.buffer_factory();
BlockImpl* copy = reinterpret_cast<InternalPlugin*>(_plugin)->instantiate(
- bufs, symbol, _polyphonic, parent_graph(), engine, nullptr);
+ bufs, symbol, _polyphonic, parent, engine, nullptr);
for (size_t i = 0; i < num_ports(); ++i) {
const Atom& value = port_impl(i)->value();