diff options
author | Hans Goudey <h.goudey@me.com> | 2022-05-13 19:44:09 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-05-13 19:44:09 +0300 |
commit | ee363ee7b3a26e3236f2107b8a8324877404db04 (patch) | |
tree | 8241af9ac1af84b3c3ac08354aa4b639f85ec44d /source/blender/nodes | |
parent | cf69652618fefcd22b2cde9a2e0338b63f9a003e (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.cc | 4 |
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); } }); |