Commit: 16fa14be2c0c55a8bbe4fb89d21183bd7c78fdcc
Author: Omar Emara
Date:   Mon Mar 14 15:32:42 2022 +0200
Branches: temp-viewport-compositor-compiler
https://developer.blender.org/rB16fa14be2c0c55a8bbe4fb89d21183bd7c78fdcc

Viewport Compositor: Fix missed input mappings

Accidentally returned instead of continuing, so latter inputs were not
mapped.

===================================================================

M       source/blender/nodes/intern/node_compositor_execute.cc

===================================================================

diff --git a/source/blender/nodes/intern/node_compositor_execute.cc 
b/source/blender/nodes/intern/node_compositor_execute.cc
index 73e60b6e134..87b25f64b1f 100644
--- a/source/blender/nodes/intern/node_compositor_execute.cc
+++ b/source/blender/nodes/intern/node_compositor_execute.cc
@@ -1218,7 +1218,7 @@ void Evaluator::map_node_inputs_to_results(DNode node)
     /* If the origin socket is an input, that means the input is unlinked. 
Unlinked inputs are
      * mapped internally to internal results, so skip here. */
     if (origin->is_input()) {
-      return;
+      continue;
     }
 
     /* Get the result from the operation that contains the output socket. */

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to