diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-05-28 05:57:29 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-05-28 05:57:29 +0400 |
commit | 4512be4b6cce1333c875380b67695e410e9f58c3 (patch) | |
tree | 45ffc8a4db3a8d3e8b6c171add0252f28467c8d2 /source/blender/makesdna/DNA_anim_types.h | |
parent | 5936032f661395f18bcc15c3dba73e8b6f5e963b (diff) |
2.5 - Fixes for animating enum values
Interpolation between keyframes for enum values (and booleans) can only be constant now.
TODO:
A way to do this for modifiers is still needed.
Diffstat (limited to 'source/blender/makesdna/DNA_anim_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_anim_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_anim_types.h b/source/blender/makesdna/DNA_anim_types.h index f30cd63242a..bf6b9bed5a1 100644 --- a/source/blender/makesdna/DNA_anim_types.h +++ b/source/blender/makesdna/DNA_anim_types.h @@ -321,8 +321,10 @@ enum { /* skip evaluation, as RNA-path cannot be resolved (similar to muting, but cannot be set by user) */ FCURVE_DISABLED = (1<<10), - /* curve can only have whole-number values (int or boolean types) */ + /* curve can only have whole-number values (integer types) */ FCURVE_INT_VALUES = (1<<11), + /* curve can only have certain discrete-number values (no interpolation at all, for enums/booleans) */ + FCURVE_DISCRETE_VALUES = (1<<12), } eFCurve_Flags; /* extrapolation modes (only simple value 'extending') */ |