Blender Git Loki

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

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021