diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-07-01 03:25:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-07-01 04:06:04 +0300 |
commit | 930ecef9b583a7dca2d886ed893dcfc684772d9c (patch) | |
tree | 1f0896471dbd41ac8120ba3c4a5dde81ebad72de /source/blender/blenkernel/intern | |
parent | 753806c731b6e8b9de5f2af29ff6235b0590ab6c (diff) |
Cleanup: outdated IPO references in comments
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/colorband.c | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/colortools.c | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/key.c | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/colorband.c b/source/blender/blenkernel/intern/colorband.c index 2884d7b3204..d6b318caa5e 100644 --- a/source/blender/blenkernel/intern/colorband.c +++ b/source/blender/blenkernel/intern/colorband.c @@ -490,7 +490,7 @@ bool BKE_colorband_evaluate(const ColorBand *coba, float in, float out[4]) } if (ELEM(ipotype, COLBAND_INTERP_B_SPLINE, COLBAND_INTERP_CARDINAL)) { - /* ipo from right to left: 3 2 1 0 */ + /* Interpolate from right to left: `3 2 1 0`. */ float t[4]; if (a >= coba->tot - 1) { diff --git a/source/blender/blenkernel/intern/colortools.c b/source/blender/blenkernel/intern/colortools.c index df2277387ce..1484021cb9d 100644 --- a/source/blender/blenkernel/intern/colortools.c +++ b/source/blender/blenkernel/intern/colortools.c @@ -638,7 +638,7 @@ static void curvemap_make_table(const CurveMapping *cumap, CurveMap *cuma) cuma->mintable = clipr->xmin; cuma->maxtable = clipr->xmax; - /* hrmf... we now rely on blender ipo beziers, these are more advanced */ + /* Rely on Blender interpolation for bezier curves, support extra functionality here as well. */ bezt = MEM_callocN(cuma->totpoint * sizeof(BezTriple), "beztarr"); for (int a = 0; a < cuma->totpoint; a++) { diff --git a/source/blender/blenkernel/intern/key.c b/source/blender/blenkernel/intern/key.c index 1a988e687db..6cc90f86b4a 100644 --- a/source/blender/blenkernel/intern/key.c +++ b/source/blender/blenkernel/intern/key.c @@ -315,11 +315,11 @@ Key *BKE_key_add(Main *bmain, ID *id) /* common function */ return key; } -/* Sort shape keys and Ipo curves after a change. This assumes that at most - * one key was moved, which is a valid assumption for the places it's - * currently being called. +/** + * Sort shape keys after a change. + * This assumes that at most one key was moved, + * which is a valid assumption for the places it's currently being called. */ - void BKE_key_sort(Key *key) { KeyBlock *kb; |