[Bf-blender-cvs] [007651129af] temp-geometry-nodes-fields--fields: Add comment

Hans Goudey noreply at git.blender.org
Sun Aug 29 04:18:46 CEST 2021


Commit: 007651129afb2a7f7f35a6dc9c89a5aca0411148
Author: Hans Goudey
Date:   Sat Aug 28 21:18:38 2021 -0500
Branches: temp-geometry-nodes-fields--fields
https://developer.blender.org/rB007651129afb2a7f7f35a6dc9c89a5aca0411148

Add comment

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

M	source/blender/functions/tests/FN_field_test.cc

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

diff --git a/source/blender/functions/tests/FN_field_test.cc b/source/blender/functions/tests/FN_field_test.cc
index c01fa0f87b8..e974d99ba93 100644
--- a/source/blender/functions/tests/FN_field_test.cc
+++ b/source/blender/functions/tests/FN_field_test.cc
@@ -26,7 +26,7 @@ TEST(field, ConstantFunction)
 }
 
 class IndexFieldInput final : public FieldInput {
-  StringRef name_ = "Index";
+  StringRef name_ = "Index"; /* TODO: I don't think this is a valid way to override the name. */
   GVArrayPtr retrieve_data(IndexMask mask) const final
   {
     auto index_func = [](int i) { return i; };



More information about the Bf-blender-cvs mailing list