Commit: 1beaec46b8e3fbb2bc6755ebd363637be6f540fe
Author: Jacques Lucke
Date:   Wed Jan 4 13:12:11 2023 +0100
Branches: master
https://developer.blender.org/rB1beaec46b8e3fbb2bc6755ebd363637be6f540fe

Fix: implicit field socket ignored

Follow up to rB86a471efe71a84d807e682445fd73a247f196612.

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

M       source/blender/nodes/NOD_node_declaration.hh

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

diff --git a/source/blender/nodes/NOD_node_declaration.hh 
b/source/blender/nodes/NOD_node_declaration.hh
index c221c64442d..8a7606df777 100644
--- a/source/blender/nodes/NOD_node_declaration.hh
+++ b/source/blender/nodes/NOD_node_declaration.hh
@@ -349,8 +349,8 @@ class SocketDeclarationBuilder : public 
BaseSocketDeclarationBuilder {
   /** The input is evaluated on a subset of the geometry inputs. */
   Self &implicit_field_on(ImplicitInputValueFn fn, const Span<int> 
input_indices)
   {
-    this->implicit_field(fn);
     this->field_on(input_indices);
+    this->implicit_field(fn);
     return *(Self *)this;
   }

_______________________________________________
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