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/blenkernel/intern/ipo.c | |
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/blenkernel/intern/ipo.c')
-rw-r--r-- | source/blender/blenkernel/intern/ipo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/ipo.c b/source/blender/blenkernel/intern/ipo.c index 6a01311f6fc..9c5560be8f3 100644 --- a/source/blender/blenkernel/intern/ipo.c +++ b/source/blender/blenkernel/intern/ipo.c @@ -1169,7 +1169,7 @@ static void icu_to_fcurves (ListBase *groups, ListBase *list, IpoCurve *icu, cha if (G.f & G_DEBUG) printf("\tconvert bitflag ipocurve, totbits = %d \n", totbits); /* add the 'only int values' flag */ - fcu->flag |= FCURVE_INT_VALUES; + fcu->flag |= (FCURVE_INT_VALUES|FCURVE_DISCRETE_VALUES); /* for each bit we have to remap + check for: * 1) we need to make copy the existing F-Curve data (fcu -> fcurve), |