From 6e72e3fdb295fdfd3e252bd48be96e2d832e43f2 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Thu, 24 Mar 2022 20:48:08 -0500 Subject: Cleanup: Further renaming in new curves code A follow-up to e253f9f66d6f. Follow the policy from T85728 completely (using "num" as a prefix) and rename another function. --- source/blender/editors/curves/intern/curves_add.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/curves') diff --git a/source/blender/editors/curves/intern/curves_add.cc b/source/blender/editors/curves/intern/curves_add.cc index fadaac27431..17108619a4d 100644 --- a/source/blender/editors/curves/intern/curves_add.cc +++ b/source/blender/editors/curves/intern/curves_add.cc @@ -21,7 +21,7 @@ bke::CurvesGeometry primitive_random_sphere(const int curves_size, const int poi float *radius_data = (float *)CustomData_add_layer_named( &curves.point_data, CD_PROP_FLOAT, CD_DEFAULT, nullptr, curves.point_size, "radius"); - MutableSpan radii{radius_data, curves.num_points()}; + MutableSpan radii{radius_data, curves.points_num()}; for (const int i : offsets.index_range()) { offsets[i] = points_per_curve * i; -- cgit v1.2.3