diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-02-14 03:38:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-02-14 03:44:47 +0300 |
commit | 2ff2900f7fa65110222544a5e14fac9876058ad6 (patch) | |
tree | bde71047be9fd3bc4051b6b1b45a07933cf12728 /source/blender/editors/space_nla/nla_edit.c | |
parent | fa093ef2ffee1c2cf4464711504c1ee030581959 (diff) |
Cleanup: use return argument prefix
Diffstat (limited to 'source/blender/editors/space_nla/nla_edit.c')
-rw-r--r-- | source/blender/editors/space_nla/nla_edit.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/space_nla/nla_edit.c b/source/blender/editors/space_nla/nla_edit.c index 893d2c0e2c8..7bfb753474d 100644 --- a/source/blender/editors/space_nla/nla_edit.c +++ b/source/blender/editors/space_nla/nla_edit.c @@ -406,11 +406,11 @@ void NLA_OT_previewrange_set(wmOperatorType *ot) /** * Find the extents of the active channel * - * \param[out] min: Bottom y-extent of channel. - * \param[out] max: Top y-extent of channel. - * \return Success of finding a selected channel + * \param r_min: Bottom y-extent of channel. + * \param r_max: Top y-extent of channel. + * \return Success of finding a selected channel. */ -static bool nla_channels_get_selected_extents(bAnimContext *ac, float *min, float *max) +static bool nla_channels_get_selected_extents(bAnimContext *ac, float *r_min, float *r_max) { ListBase anim_data = {NULL, NULL}; bAnimListElem *ale; @@ -434,8 +434,8 @@ static bool nla_channels_get_selected_extents(bAnimContext *ac, float *min, floa if (acf && acf->has_setting(ac, ale, ACHANNEL_SETTING_SELECT) && ANIM_channel_setting_get(ac, ale, ACHANNEL_SETTING_SELECT)) { /* update best estimate */ - *min = ymax - NLACHANNEL_HEIGHT(snla); - *max = ymax; + *r_min = ymax - NLACHANNEL_HEIGHT(snla); + *r_max = ymax; /* is this high enough priority yet? */ found = acf->channel_role; |