Blender Git Commit Log

Git Commits -> Revision 2e93dc4

Revision 2e93dc4 by Joshua Leung (master)
May 3, 2009, 13:00 (GMT)
F-Curve Modifiers: Time-Modifying F-Modifiers Cleanup

Time-Modifying F-Curve Modifiers now get special callbacks to allow them to specify what frame they need to be evaluated on, instead of forcing a re-evaluation of the preceeding curve + modifier-stack. This should be more robust than the old way in general.

It still remains to be seen if some tweaks to this are still needed, as the full consequences of the propogation of modified time-spaces have yet to be fully explored.

For now though, evaluation works by finding the last modifier on the stack which modifies time, and asks it what time it modifies the given time to. This modified time is used to evaluate the F-Curve data only. The modifier stack gets evaluated using the original time instead.

Commit Details:

Full Hash: 2e93dc4037b815a97c9b9d03fe28742e01458e43
SVN Revision: 20039
Parent Commit: 99cc61e
Lines Changed: +96, -59

4 Modified Paths:

/source/blender/blenkernel/BKE_fcurve.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/fcurve.c (+92, -59) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_anim_types.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021