diff options
Diffstat (limited to 'source/blender/blenkernel/intern/fcurve.c')
-rw-r--r-- | source/blender/blenkernel/intern/fcurve.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/fcurve.c b/source/blender/blenkernel/intern/fcurve.c index d4fa9de1043..281b4f589e1 100644 --- a/source/blender/blenkernel/intern/fcurve.c +++ b/source/blender/blenkernel/intern/fcurve.c @@ -2139,6 +2139,10 @@ static float fcurve_eval_keyframes(FCurve *fcu, BezTriple *bezts, float evaltime case BEZT_IPO_EASE_IN_OUT: cvalue = BLI_easing_back_ease_in_out(time, begin, change, duration, prevbezt->back); break; + + default: /* default/auto: same as ease out */ + cvalue = BLI_easing_back_ease_out(time, begin, change, duration, prevbezt->back); + break; } break; @@ -2153,6 +2157,10 @@ static float fcurve_eval_keyframes(FCurve *fcu, BezTriple *bezts, float evaltime case BEZT_IPO_EASE_IN_OUT: cvalue = BLI_easing_bounce_ease_in_out(time, begin, change, duration); break; + + default: /* default/auto: same as ease out */ + cvalue = BLI_easing_bounce_ease_out(time, begin, change, duration); + break; } break; @@ -2167,6 +2175,10 @@ static float fcurve_eval_keyframes(FCurve *fcu, BezTriple *bezts, float evaltime case BEZT_IPO_EASE_IN_OUT: cvalue = BLI_easing_circ_ease_in_out(time, begin, change, duration); break; + + default: /* default/auto: same as ease in */ + cvalue = BLI_easing_circ_ease_in(time, begin, change, duration); + break; } break; @@ -2181,6 +2193,10 @@ static float fcurve_eval_keyframes(FCurve *fcu, BezTriple *bezts, float evaltime case BEZT_IPO_EASE_IN_OUT: cvalue = BLI_easing_cubic_ease_in_out(time, begin, change, duration); break; + + default: /* default/auto: same as ease in */ + cvalue = BLI_easing_cubic_ease_in(time, begin, change, duration); + break; } break; @@ -2195,6 +2211,10 @@ static float fcurve_eval_keyframes(FCurve *fcu, BezTriple *bezts, float evaltime case BEZT_IPO_EASE_IN_OUT: cvalue = BLI_easing_elastic_ease_in_out(time, begin, change, duration, amplitude, period); break; + + default: /* default/auto: same as ease out */ + cvalue = BLI_easing_elastic_ease_out(time, begin, change, duration, amplitude, period); + break; } break; @@ -2209,6 +2229,10 @@ static float fcurve_eval_keyframes(FCurve *fcu, BezTriple *bezts, float evaltime case BEZT_IPO_EASE_IN_OUT: cvalue = BLI_easing_expo_ease_in_out(time, begin, change, duration); break; + + default: /* default/auto: same as ease in */ + cvalue = BLI_easing_expo_ease_in(time, begin, change, duration); + break; } break; @@ -2223,6 +2247,10 @@ static float fcurve_eval_keyframes(FCurve *fcu, BezTriple *bezts, float evaltime case BEZT_IPO_EASE_IN_OUT: cvalue = BLI_easing_quad_ease_in_out(time, begin, change, duration); break; + + default: /* default/auto: same as ease in */ + cvalue = BLI_easing_quad_ease_in(time, begin, change, duration); + break; } break; @@ -2237,6 +2265,10 @@ static float fcurve_eval_keyframes(FCurve *fcu, BezTriple *bezts, float evaltime case BEZT_IPO_EASE_IN_OUT: cvalue = BLI_easing_quart_ease_in_out(time, begin, change, duration); break; + + default: /* default/auto: same as ease in */ + cvalue = BLI_easing_quart_ease_in(time, begin, change, duration); + break; } break; @@ -2251,6 +2283,10 @@ static float fcurve_eval_keyframes(FCurve *fcu, BezTriple *bezts, float evaltime case BEZT_IPO_EASE_IN_OUT: cvalue = BLI_easing_quint_ease_in_out(time, begin, change, duration); break; + + default: /* default/auto: same as ease in */ + cvalue = BLI_easing_quint_ease_in(time, begin, change, duration); + break; } break; @@ -2265,6 +2301,10 @@ static float fcurve_eval_keyframes(FCurve *fcu, BezTriple *bezts, float evaltime case BEZT_IPO_EASE_IN_OUT: cvalue = BLI_easing_sine_ease_in_out(time, begin, change, duration); break; + + default: /* default/auto: same as ease in */ + cvalue = BLI_easing_sine_ease_in(time, begin, change, duration); + break; } break; |