[Bf-blender-cvs] [1e80d0e732e] geometry-nodes-curve-to-points-node: Add comment

Hans Goudey noreply at git.blender.org
Wed Jun 9 19:32:59 CEST 2021


Commit: 1e80d0e732e245384b8d87e9d79ac0c7efa3d9ff
Author: Hans Goudey
Date:   Wed Jun 9 08:42:00 2021 -0500
Branches: geometry-nodes-curve-to-points-node
https://developer.blender.org/rB1e80d0e732e245384b8d87e9d79ac0c7efa3d9ff

Add comment

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

M	source/blender/nodes/geometry/nodes/node_geo_curve_to_points.cc

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

diff --git a/source/blender/nodes/geometry/nodes/node_geo_curve_to_points.cc b/source/blender/nodes/geometry/nodes/node_geo_curve_to_points.cc
index 96405e7e5fc..3ec585255d0 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_curve_to_points.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_curve_to_points.cc
@@ -72,6 +72,7 @@ namespace blender::nodes {
 static void evaluate_splines(Span<SplinePtr> splines)
 {
   parallel_for_each(splines, [](const SplinePtr &spline) {
+    /* These functions fill the corresponding caches on each spline. */
     spline->evaluated_positions();
     spline->evaluated_tangents();
     spline->evaluated_normals();



More information about the Bf-blender-cvs mailing list