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/editors/transform/transform_convert_action.c | |
parent | 753806c731b6e8b9de5f2af29ff6235b0590ab6c (diff) |
Cleanup: outdated IPO references in comments
Diffstat (limited to 'source/blender/editors/transform/transform_convert_action.c')
-rw-r--r-- | source/blender/editors/transform/transform_convert_action.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/source/blender/editors/transform/transform_convert_action.c b/source/blender/editors/transform/transform_convert_action.c index deb64ca2892..cfa14e21d0d 100644 --- a/source/blender/editors/transform/transform_convert_action.c +++ b/source/blender/editors/transform/transform_convert_action.c @@ -210,12 +210,13 @@ static TransData *ActionFCurveToTransData(TransData *td, return td; } -/* This function advances the address to which td points to, so it must return +/** + * This function advances the address to which td points to, so it must return * the new address so that the next time new transform data is added, it doesn't - * overwrite the existing ones... i.e. td = GPLayerToTransData(td, ipo, ob, side, cfra); + * overwrite the existing ones: e.g. `td += GPLayerToTransData(td, ...);` * - * The 'side' argument is needed for the extend mode. 'B' = both sides, 'R'/'L' mean only data - * on the named side are used. + * \param side: is needed for the extend mode. 'B' = both sides, + * 'R'/'L' mean only data on the named side are used. */ static int GPLayerToTransData(TransData *td, tGPFtransdata *tfd, @@ -242,7 +243,7 @@ static int GPLayerToTransData(TransData *td, tfd->val = (float)gpf->framenum; tfd->sdata = &gpf->framenum; - /* advance td now */ + /* Advance `td` now. */ td++; tfd++; count++; @@ -339,7 +340,7 @@ void createTransActionData(bContext *C, TransInfo *t) t->frame_side = 'B'; } - /* loop 1: fully select ipo-keys and count how many BezTriples are selected */ + /* loop 1: fully select F-curve keys and count how many BezTriples are selected */ for (ale = anim_data.first; ale; ale = ale->next) { AnimData *adt = ANIM_nla_mapping_get(&ac, ale); int adt_count = 0; |