This patch adds the ease operator to the graph editor.
It aligns selected keys on an exponential curve where the exponent is controlled by a factor.
Differential D9479
Ease Implementation Authored by Christoph Lendenfeld (ChrisLend) on Nov 5 2020, 9:34 PM.
Details
This patch adds the ease operator to the graph editor. It aligns selected keys on an exponential curve where the exponent is controlled by a factor.
Diff Detail
Event TimelineComment Actions
Comment Actions @Sybren A. Stüvel (sybren) Comment Actions No special reason, just many things to do in little time. Now that I have more time to spend on Animation & Rigging, I hope to catch up with all the reviews eventually :) Comment Actions The code looks good to me! Just one thing I'm wondering, UI/UX-wise. Right now the operator starts at 50%, which results in a straight line, and 0% and 100% are the two extremes (ignoring "E for overshoot"). Would it make sense to use the range -100% to 100%, and have 0% as the straight line? That way also the overshooting values are more symmetrical; currently -100% would be the inverse of 200%, and with my proposal those would be -150% and +150%. Comment Actions In order to change that I'd need to change the slider to have a settable min and max. That's a good idea to do anyway, but I think it's a bit much for this patch. |