[Bf-blender-cvs] [01037308d5d] temp-geometry-nodes-fields: Cleanup: Change wording of comments

Hans Goudey noreply at git.blender.org
Thu Sep 2 06:47:50 CEST 2021


Commit: 01037308d5d2b0bcf3ec607f8cbd9e48fdd564f6
Author: Hans Goudey
Date:   Wed Sep 1 23:46:25 2021 -0500
Branches: temp-geometry-nodes-fields
https://developer.blender.org/rB01037308d5d2b0bcf3ec607f8cbd9e48fdd564f6

Cleanup: Change wording of comments

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

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

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

diff --git a/source/blender/functions/intern/field.cc b/source/blender/functions/intern/field.cc
index 24a5bc907a8..4a95bc5ef3f 100644
--- a/source/blender/functions/intern/field.cc
+++ b/source/blender/functions/intern/field.cc
@@ -226,11 +226,12 @@ struct PartiallyInitializedArray : NonCopyable, NonMovable {
  *   sure the scope is not destructed when the output virtual arrays are still used.
  * \param fields_to_evaluate: The fields that should be evaluated together.
  * \param mask: Determines which indices are computed. The mask may be referenced by the returned
- *   virtual arrays. So the underlying index span should live longer then #scope.
- * \param context: The context that the field is evaluated in.
+ *   virtual arrays. So the underlying indices (if applicable) should live longer then #scope.
+ * \param context: The context that the field is evaluated in. Used to retrieve data from each
+ *   #ContextFieldSource in the field network.
  * \param dst_hints: If provided, the computed data will be written into those virtual arrays
- *   instead of into newly created ones. That allows making the computing data live longer
- *   than #scope and is more efficient when the data will be written into those virtual arrays
+ *   instead of into newly created ones. That allows making the computed data live longer than
+ *   #scope and is more efficient when the data will be written into those virtual arrays
  *   later anyway.
  * \return The computed virtual arrays for each provided field. If #dst_hints were passed, the
  *   provided virtual arrays are returned.



More information about the Bf-blender-cvs mailing list