From a9f59b54def6fbd2495d06e3dc0a0140def6cabb Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Sat, 14 Dec 2019 23:16:30 +1100 Subject: [PATCH] ensures copied graph is updated when values are copied While the copied graph doesn't pick up InvalidateCache signals, some node processing relies on NodeInput update signals to update their internals correctly. --- app/node/input.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/node/input.cpp b/app/node/input.cpp index a793186be..5698d5ad2 100644 --- a/app/node/input.cpp +++ b/app/node/input.cpp @@ -299,4 +299,6 @@ void NodeInput::CopyValues(NodeInput *source, NodeInput *dest, bool include_conn CopyValues(src_array->At(i), dst_array->At(i), include_connections); } } + + emit dest->ValueChanged(RATIONAL_MIN, RATIONAL_MAX); }