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-07-04 04:44:56 +0300
committerHans Goudey <h.goudey@me.com>2022-07-04 04:44:56 +0300
commitf4a9a3767ee2f5c34c8f8fa6e4dc89232bb3dcd6 (patch)
tree4d6571f2a56bce840d6d6a85c3a27771adbf3e6a /source/blender/blenlib/BLI_length_parameterize.hh
parente86c2f7288724bd6fec33ff43e89816d7520a2b3 (diff)
Cleanup: Rename curve segment count function
`curve_segment_num` -> `segments_num`. The "curve" prefix is reduntant for a function in the curve namespace.
Diffstat (limited to 'source/blender/blenlib/BLI_length_parameterize.hh')
-rw-r--r--source/blender/blenlib/BLI_length_parameterize.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_length_parameterize.hh b/source/blender/blenlib/BLI_length_parameterize.hh
index ff957d92263..c44bb94f65d 100644
--- a/source/blender/blenlib/BLI_length_parameterize.hh
+++ b/source/blender/blenlib/BLI_length_parameterize.hh
@@ -17,7 +17,7 @@ namespace blender::length_parameterize {
* Return the size of the necessary lengths array for a group of points, taking into account the
* possible last cyclic segment.
*
- * \note This is the same as #bke::curves::curve_segment_num.
+ * \note This is the same as #bke::curves::segments_num.
*/
inline int segments_num(const int points_num, const bool cyclic)
{