diff options
author | Hans Goudey <h.goudey@me.com> | 2020-07-30 00:01:46 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-07-30 00:01:46 +0300 |
commit | 5f46a0fbcedd4011d3140905ca2de26af13c95e0 (patch) | |
tree | 8ce250f286802d8a4b7928bd7d8a9cbdf4bc76d2 /source/blender/makesdna/DNA_curveprofile_types.h | |
parent | 8c10e56331d0fb79d101c5edf214d7b327cc70c3 (diff) |
Cleanup: Rename define
*_LEN follows names elsewhere in Blender more closely than "_N_"
Diffstat (limited to 'source/blender/makesdna/DNA_curveprofile_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_curveprofile_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_curveprofile_types.h b/source/blender/makesdna/DNA_curveprofile_types.h index ca00f783905..7af8c3cf3ca 100644 --- a/source/blender/makesdna/DNA_curveprofile_types.h +++ b/source/blender/makesdna/DNA_curveprofile_types.h @@ -31,7 +31,7 @@ /** Number of table points per control point. */ #define PROF_RESOL 16 /** Dynamic size of widget's high resolution table. Input should be profile->totpoint. */ -#define PROF_N_TABLE(n_pts) min_ii(PROF_TABLE_MAX, (((n_pts - 1)) * PROF_RESOL) + 1) +#define PROF_TABLE_LEN(n_pts) min_ii(PROF_TABLE_MAX, (((n_pts - 1)) * PROF_RESOL) + 1) /** * Each control point that makes up the profile. |