[Bf-blender-cvs] [0597e93e5e2] temp-geometry-nodes-fields--fields: Add TODO comment

Hans Goudey noreply at git.blender.org
Mon Aug 30 23:41:25 CEST 2021


Commit: 0597e93e5e22048838adcdb289fa62616294ebbb
Author: Hans Goudey
Date:   Mon Aug 30 16:41:17 2021 -0500
Branches: temp-geometry-nodes-fields--fields
https://developer.blender.org/rB0597e93e5e22048838adcdb289fa62616294ebbb

Add TODO comment

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

M	source/blender/functions/intern/field.cc

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

diff --git a/source/blender/functions/intern/field.cc b/source/blender/functions/intern/field.cc
index 76544998b46..db70e583269 100644
--- a/source/blender/functions/intern/field.cc
+++ b/source/blender/functions/intern/field.cc
@@ -102,6 +102,9 @@ static const FieldVariable &get_field_variable(const Field &field,
   return function_outputs[field.function_output_index()];
 }
 
+/**
+ * TODO: Merge duplicate input nodes, not just fields pointing to the same FieldInput.
+ */
 static void add_variables_for_input(const Field &field,
                                     Stack<const Field *> &fields_to_visit,
                                     MFProcedureBuilder &builder,



More information about the Bf-blender-cvs mailing list