[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36779] trunk/blender/source/blender/ blenkernel/intern/fcurve.c: modify fcurve evaluation for bool/enum/ int values.

Daniel Salazar - 3Developer.com zanqdo at gmail.com
Sun May 22 08:22:03 CEST 2011

- Booleans don't round like ints (below 1.0 are false)
- Negative numbers also evaluate to false, this means if you have a
sine wave it will give predictable true/false when crossing the 1.0
value no matter the amplitude.

double checked and driven booleans work the same way.

I think that's perfectly fine, specially knowing that driven Ints do a
logical roundup is helpful

Daniel Salazar

More information about the Bf-committers mailing list