Blender Git Commit Log

Git Commits -> Revision fbe541d

Revision fbe541d by Campbell Barton (master)
May 19, 2011, 12:39 (GMT)
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.

Commit Details:

Full Hash: fbe541d1a85dd4700e153e17bd6bcbcbc7d9cbb6
SVN Revision: 36779
Parent Commit: e088f59
Lines Changed: +1, -1

1 Modified Path:

/source/blender/blenkernel/intern/fcurve.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021