Refactor: fcurve bounds functions #105177

Merged
Christoph Lendenfeld merged 16 commits from ChrisLend/blender:refactor_fcurve_bounds into main 2023-03-10 11:33:21 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 183d3528af - Show all commits

View File

@ -747,7 +747,7 @@ bool BKE_fcurve_calc_bounds(const FCurve *fcu,
return found_bounds;
}
else if (fcu->fpt) {
if (fcu->fpt) {

No else after return; clang-tidy will complain about this.

No `else` after `return`; `clang-tidy` will complain about this.
const bool founds_bounds = calculate_fpt_bounds(fcu, frame_range, r_bounds);
return founds_bounds;
}