VSE: Smooth transition for retiming tool #107197

Merged
Richard Antalik merged 20 commits from iss/blender:retiming-gradual into main 2023-05-16 22:33:19 +02:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 00d18f6f0f - Show all commits

View File

@ -167,8 +167,8 @@ static void seq_retiming_line_segments_tangent_circle(const SeqRetimingHandle *s
sub_v2_v2v2_db(v1, s1_1, s1_2);
sub_v2_v2v2_db(v2, s2_1, s2_2);
/* Rotate segments by 90 degrees around seg. 1 end and start seg. 2 start point. */
SWAP(float, v1[0], v1[1]);
SWAP(float, v2[0], v2[1]);
SWAP(double, v1[0], v1[1]);
SWAP(double, v2[0], v2[1]);
v1[0] *= -1;
v2[0] *= -1;
copy_v2_v2_db(s1_1, s1_2);