Animation: blend to infinity slider #106517

Closed
AresDeveaux wants to merge 15 commits from AresDeveaux/blender:blend_to_infinity_slider into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 1 additions and 1 deletions
Showing only changes of commit c13f51e13e - Show all commits

View File

@ -564,7 +564,7 @@ void blend_to_infinity_fcurve_segment(FCurve *fcu, FCurveSegment *segment, const
new_y_delta = new_x_delta * y_delta / x_delta;
}

These new deltas are used to determine...

These new deltas are used to determine...
float delta = refe + new_y_delta - fcu->bezt[i].vec[1][1];
const float delta = refe + new_y_delta - fcu->bezt[i].vec[1][1];
const float key_y_value = fcu->bezt[i].vec[1][1] + delta * ping_pong_factor;
move_key(&fcu->bezt[i], key_y_value);