Skip to content

Commit

Permalink
Fix missing node offset initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
envt authored and christophe-calmejane committed Jun 23, 2023
1 parent d9d643b commit d212016
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mappingMatrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<decltype(_offset)>(outputs.size());

// Create output nodes
_outputNodes.reserve(outputs.size());
Expand Down

0 comments on commit d212016

Please sign in to comment.