Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-05-13 19:44:09 +0300
committerHans Goudey <h.goudey@me.com>2022-05-13 19:44:09 +0300
commitee363ee7b3a26e3236f2107b8a8324877404db04 (patch)
tree8241af9ac1af84b3c3ac08354aa4b639f85ec44d /source/blender/nodes
parentcf69652618fefcd22b2cde9a2e0338b63f9a003e (diff)
Cleanup: Use standard variable names for curves
Diffstat (limited to 'source/blender/nodes')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_duplicate_elements.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_duplicate_elements.cc b/source/blender/nodes/geometry/nodes/node_geo_duplicate_elements.cc
index ee3de995cb1..90837486186 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_duplicate_elements.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_duplicate_elements.cc
@@ -812,8 +812,8 @@ static void duplicate_points_curve(GeometrySet &geometry_set,
Array<int> point_to_curve_map(src_curves.points_num());
threading::parallel_for(src_curves.curves_range(), 1024, [&](const IndexRange range) {
for (const int i_curve : range) {
- const IndexRange point_range = src_curves.points_for_curve(i_curve);
- point_to_curve_map.as_mutable_span().slice(point_range).fill(i_curve);
+ const IndexRange points = src_curves.points_for_curve(i_curve);
+ point_to_curve_map.as_mutable_span().slice(points).fill(i_curve);
}
});