Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2014-04-27 17:42:51 +0400
committerJoshua Leung <aligorith@gmail.com>2014-04-28 18:23:53 +0400
commit6feec25bddfb96f979c89611840f1f558b7cd92c (patch)
treea7183cc78aa05a0b2d820dd6193d55cb9cf9742c /source/blender/makesdna/DNA_curve_types.h
parenta3a3141f53e5341cc4c669297ed1d894ad1d89e1 (diff)
"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"
Diffstat (limited to 'source/blender/makesdna/DNA_curve_types.h')
-rw-r--r--source/blender/makesdna/DNA_curve_types.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h
index 82ec02e01e9..0321c1cad12 100644
--- a/source/blender/makesdna/DNA_curve_types.h
+++ b/source/blender/makesdna/DNA_curve_types.h
@@ -380,9 +380,11 @@ typedef enum eBezTriple_Interpolation {
/* easing modes (used only for Keyframes - BezTriple->easing) */
typedef enum eBezTriple_Easing {
- BEZT_IPO_EASE_IN = 0,
- BEZT_IPO_EASE_OUT = 1,
- BEZT_IPO_EASE_IN_OUT = 2
+ BEZT_IPO_EASE_AUTO = 0,
+
+ BEZT_IPO_EASE_IN = 1,
+ BEZT_IPO_EASE_OUT = 2,
+ BEZT_IPO_EASE_IN_OUT = 3
} eBezTriple_Easing;
/* types of keyframe (used only for BezTriple->hide when BezTriple is used in F-Curves) */