From d212016bd4e4d1a915db4231ab87c2132dbab04a Mon Sep 17 00:00:00 2001 From: Emilien Vallot Date: Thu, 22 Jun 2023 18:13:53 +0200 Subject: [PATCH] Fix missing node offset initialization --- src/mappingMatrix.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mappingMatrix.cpp b/src/mappingMatrix.cpp index c1af2ed5..306e46ee 100644 --- a/src/mappingMatrix.cpp +++ b/src/mappingMatrix.cpp @@ -95,6 +95,7 @@ class MappingMatrix : public QWidget // we must generate this unique identifier ourselves and also keep the offset to the first input node // in order to be able to translate connections back and forth. auto id = 0; + _offset = static_cast(outputs.size()); // Create output nodes _outputNodes.reserve(outputs.size());