Keyframing int properties defaults to bezier
Closed, ResolvedPublic

Description

set property to 1 and keyframe

notice how the bezier interpolation makes for an incorrect behavior in the graph editor

Details

Type
Bug

I'm not sure what's the issue is. It's just "snapping" values of curve to integers. The only thing which isn't clear enough, it moving control points along Y axis -- handles are moving a bit "independently" from control point. Actually, i don't think it's really issue, it's just how rouding of curve to integer happens.

the issue from a usability PoV is obvious: it should default to linear interpolation for int properties. for enum properties it should default to constant interpolation. I'm assigning to campbell, see what he thinks

Attached simple patch to fix this. Joshua, are you ok with this change?

Fix in svn, thanks for the report.

Brecht Van Lommel (brecht) closed this task as "Resolved".Dec 2 2011, 8:49 PM