modify fcurve evaluation for bool/enum/int values. was converting from a float to...
authorCampbell Barton <ideasman42@gmail.com>
Thu, 19 May 2011 12:39:57 +0000 (12:39 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 19 May 2011 12:39:57 +0000 (12:39 +0000)
commitfbe541d1a85dd4700e153e17bd6bcbcbc7d9cbb6
tree71fefdbd8cb6395aecfb3e8dce9397370683359e
parente088f592bd82f5c3863368f49eabd3e8afffe119
modify fcurve evaluation for bool/enum/int values. was converting from a float to an int which means 0.9x evaluates to 0.0, negative numbers are also rounded up.

Round at 0.5 instead & treat negative numbers the same.
source/blender/blenkernel/intern/fcurve.c