From 5a42be72e788864736425fbf1fe0e884767a483f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Sep 2018 19:36:12 +0200 Subject: Instantiate duplicated internals with correct parent graph --- src/server/InternalBlock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(_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(); -- cgit v1.2.1