From 4e5e3a978e497dad315fec2e3690c977a06ca779 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Thu, 24 Apr 2014 14:28:30 +1200 Subject: Fix the classification + ordering of a few of the easing types After recently reading through Robert Penner's original descriptions of these easing equations for some other work I've been doing, I realised that the ordering I introduced earlier was slightly off (with regards to sine and circular types). This commit recitifies these issues. --- source/blender/makesrna/intern/rna_curve.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'source/blender') diff --git a/source/blender/makesrna/intern/rna_curve.c b/source/blender/makesrna/intern/rna_curve.c index f720a695ef1..b82fac223c3 100644 --- a/source/blender/makesrna/intern/rna_curve.c +++ b/source/blender/makesrna/intern/rna_curve.c @@ -77,21 +77,19 @@ EnumPropertyItem beztriple_interpolation_mode_items[] = { /* easing */ {0, "", 0, N_("Easing (by strength)"), "Predefined inertial transitions, useful for motion graphics (from least to most ''dramatic'')"}, - {BEZT_IPO_QUAD, "QUAD", 0, "Quadratic", "Quadratic easing (weakest)"}, + {BEZT_IPO_SINE, "SINE", 0, "Sinusoidal", "Sinusoidal easing (weakest, almost linear but with a slight curvature)"}, + {BEZT_IPO_QUAD, "QUAD", 0, "Quadratic", "Quadratic easing"}, {BEZT_IPO_CUBIC, "CUBIC", 0, "Cubic", "Cubic easing"}, {BEZT_IPO_QUART, "QUART", 0, "Quartic", "Quartic easing"}, {BEZT_IPO_QUINT, "QUINT", 0, "Quintic", "Quintic easing"}, - {BEZT_IPO_EXPO, "EXPO", 0, "Exponential", "Exponential easing (strongest)"}, + {BEZT_IPO_EXPO, "EXPO", 0, "Exponential", "Exponential easing (dramatic)"}, + {BEZT_IPO_CIRC, "CIRC", 0, "Circular", "Circular easing (strongest and most dynamic)"}, {0, "", 0, N_("Dynamic Effects"), "Simple physics-inspired easing effects"}, {BEZT_IPO_BACK, "BACK", 0, "Back", "Cubic easing with overshoot and settle"}, {BEZT_IPO_BOUNCE, "BOUNCE", 0, "Bounce", "Exponentially decaying parabolic bounce, like when objects collide"}, {BEZT_IPO_ELASTIC, "ELASTIC", 0, "Elastic", "Exponentially decaying sine wave, like an elastic band"}, - {0, "", 0, N_("Other"), "Other easing equations"}, - {BEZT_IPO_SINE, "SINE", 0, "Sinusoidal", "Sinusoidal easing"}, - {BEZT_IPO_CIRC, "CIRC", 0, "Circular", "Circular easing"}, - {0, NULL, 0, NULL, NULL} }; -- cgit v1.2.3