Blender Git Commit Log

Git Commits -> Revision 2f01899

February 7, 2020, 16:51 (GMT)
Cleanup: Animation, simplified fcurve_eval_between_keyframes() code

The function now immediately returns the evaluated value, rather than
setting a variable's value and returning that at the end of the
function. As a result, `else`-clauses and `break` statements could be
removed, simplifying and unindenting the code.

Declarations of some variables that are only used in a specific part of
the function have been moved there to clarify and limit their scope.

No functional changes.

Commit Details:

Full Hash: 2f0189964ad5a4ae7cb819233c753df51a4b1508
Parent Commit: 7766ba2
Lines Changed: +203, -284

1 Modified Path:

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