Animation: shear left slider #106521

Closed
AresDeveaux wants to merge 9 commits from AresDeveaux/blender:shear_left_slider into main

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

View File

@ -509,7 +509,7 @@ void shear_left_fcurve_segment(FCurve *fcu, FCurveSegment *segment, const float
}
/* The factor goes from 0 to 1, but for this tool it needs to go from -1 to 1. */
const float long_factor = factor * 2 - 1;
const float long_factor = factor * 2 - 1;
for (int i = segment->start_index; i < segment->start_index + segment->length; i++) {
/* For easy calculation of the curve, the values are normalized. */

View File

@ -1162,7 +1162,8 @@ void GRAPH_OT_shear_left(wmOperatorType *ot)
/* Identifiers. */
ot->name = "Shear Left Keyframes";
ot->idname = "GRAPH_OT_shear_left";
ot->description = "Affects the value of the keys linealy keeping the same \n\
ot->description =
"Affects the value of the keys linealy keeping the same \n\

I assume you mean "linearly"?

I assume you mean "linearly"?
relationship between them using the left key as reference";
/* API callbacks. */