diff options
author | Campbell Barton <campbell@blender.org> | 2022-08-09 03:21:42 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-09 03:53:19 +0300 |
commit | a26b1a299fc37bd3626bd49b05ac7f7ed836d755 (patch) | |
tree | c5006ebfec8defefa88952ce4d256195bdbbf5f1 /tests | |
parent | 35b0a2f5e790eaf50e0487f58fa57f8e23f607ea (diff) |
Cleanup: split smooth-view apply into 3 functions
Mixing view interpolation with finishing smooth-view caused arguments
to be passed in that only made sense for one of these cases.
This also makes the intention of the callers clearer.
- view3d_smoothview_apply_with_interp
- view3d_smoothview_apply_and_finish
- view3d_smoothview_apply_from_timer
Also rename 'step' to 'factor` and use `interpf` for blending values.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions