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-03-25 04:48:08 +0300
committerHans Goudey <h.goudey@me.com>2022-03-25 04:48:08 +0300
commit6e72e3fdb295fdfd3e252bd48be96e2d832e43f2 (patch)
tree70e439dfb872a2bb6dc2be33163f5fa13f82c434 /source/blender/blenkernel/intern/geometry_component_curves.cc
parentd3999683ff5ac8b42de74cb453b459096f76f542 (diff)
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.
Diffstat (limited to 'source/blender/blenkernel/intern/geometry_component_curves.cc')
-rw-r--r--source/blender/blenkernel/intern/geometry_component_curves.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/geometry_component_curves.cc b/source/blender/blenkernel/intern/geometry_component_curves.cc
index 83b8e5fb262..27689d70c77 100644
--- a/source/blender/blenkernel/intern/geometry_component_curves.cc
+++ b/source/blender/blenkernel/intern/geometry_component_curves.cc
@@ -236,10 +236,10 @@ int CurveComponent::attribute_domain_size(const AttributeDomain domain) const
const blender::bke::CurvesGeometry &geometry = blender::bke::CurvesGeometry::wrap(
curves_->geometry);
if (domain == ATTR_DOMAIN_POINT) {
- return geometry.num_points();
+ return geometry.points_num();
}
if (domain == ATTR_DOMAIN_CURVE) {
- return geometry.num_curves();
+ return geometry.curves_num();
}
return 0;
}