"Auto" option for Keyframe.easing
This option (alongside the Ease In/Out/InOut options already available) aims to make it easier to get an initial curve that looks closer to the one you were expecting, by automatically picking whether Ease In or Ease Out should be used based on the type of interpolation being used for the curve segment in question. Notes: * The types chosen may need some adjustments (e.g. using ease in-out instead of just ease in) * This does break compatability with files saved in previous dev builds, but only if you were using Bounce/Elastic/Back with "Ease In"
This commit is contained in:
@@ -78,6 +78,11 @@ EnumPropertyItem beztriple_keyframe_type_items[] = {
|
||||
};
|
||||
|
||||
EnumPropertyItem beztriple_interpolation_easing_items[] = {
|
||||
/* XXX: auto-easing is currently using a placeholder icon... */
|
||||
{BEZT_IPO_EASE_AUTO, "AUTO", ICON_IPO_EASE_IN_OUT, "Automatic Easing",
|
||||
"Easing type is chosen automatically based on what the type of interpolation used "
|
||||
"(e.g. 'Ease In' for transitional types, and 'Ease Out' for dynamic effects)"},
|
||||
|
||||
{BEZT_IPO_EASE_IN, "EASE_IN", ICON_IPO_EASE_IN, "Ease In", "Only on the end closest to the next keyframe"},
|
||||
{BEZT_IPO_EASE_OUT, "EASE_OUT", ICON_IPO_EASE_OUT, "Ease Out", "Only on the end closest to the first keyframe"},
|
||||
{BEZT_IPO_EASE_IN_OUT, "EASE_IN_OUT", ICON_IPO_EASE_IN_OUT, "Ease In and Out", "Segment between both keyframes"},
|
||||
|
||||
Reference in New Issue
Block a user