diff options
author | Hans Goudey <h.goudey@me.com> | 2021-10-04 02:54:52 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-10-04 02:54:52 +0300 |
commit | b6195f66643be6604a4dc1072ead53d1567f6795 (patch) | |
tree | 1d0e49ead55e26fc5993c6512ac180d288483b9e /source/blender/blenkernel/BKE_curveprofile.h | |
parent | 272a38e0c264911d6ebafcb440432d20c1495604 (diff) |
Cleanup: Replace macro with function
Diffstat (limited to 'source/blender/blenkernel/BKE_curveprofile.h')
-rw-r--r-- | source/blender/blenkernel/BKE_curveprofile.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_curveprofile.h b/source/blender/blenkernel/BKE_curveprofile.h index 88bac220eb3..62074a30612 100644 --- a/source/blender/blenkernel/BKE_curveprofile.h +++ b/source/blender/blenkernel/BKE_curveprofile.h @@ -75,6 +75,8 @@ void BKE_curveprofile_create_samples(struct CurveProfile *profile, bool sample_straight_edges, struct CurveProfilePoint *r_samples); +int BKE_curveprofile_table_size(const struct CurveProfile *profile); + void BKE_curveprofile_init(struct CurveProfile *profile, short segments_len); /* Called for a complete update of the widget after modifications */ |