Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-07-28 16:12:53 +0300
committerJacques Lucke <jacques@blender.org>2021-07-28 16:12:53 +0300
commit8132383662d8ec3943de817cc17654861abf0061 (patch)
treefcbd4872f298beee96aa436ec50e37f3502fddb4 /source/blender/modifiers/intern
parentf95214e9aebc4c14a2c15dc56b2e5b4ca849fd04 (diff)
new index node and fixes
Diffstat (limited to 'source/blender/modifiers/intern')
-rw-r--r--source/blender/modifiers/intern/MOD_nodes_evaluator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_nodes_evaluator.cc b/source/blender/modifiers/intern/MOD_nodes_evaluator.cc
index 298931fd1a2..1c47fe63c54 100644
--- a/source/blender/modifiers/intern/MOD_nodes_evaluator.cc
+++ b/source/blender/modifiers/intern/MOD_nodes_evaluator.cc
@@ -964,7 +964,7 @@ class GeometryNodesEvaluator {
if (!socket_ref.is_available()) {
continue;
}
- const int output_param_index = input_fields.size() + i;
+ const int output_param_index = input_fields.size() + output_index;
OutputState &output_state = node_state.outputs[i];
const DOutputSocket socket{node.context(), &socket_ref};
bke::FieldPtr out_field = new bke::MultiFunctionField(input_fields, fn, output_param_index);