Blender Git Commit Log

Git Commits -> Revision 7461fea

Revision 7461fea by Joshua Leung (master)
March 8, 2014, 04:57 (GMT)
Fix T39035: Cycles F-Modifier truncates end/beginning frame values for repetition

When the keyframes at either end of the source curve don't lie on exact frame boundaries,
this casued problems with the Cycles F-Modifier, as part of the cycle would get chopped
off.

This was caused by float -> integer truncation that was occurring, since one variable
was of the wrong type. The problem here wasn't discovered until now (thanks to gcc's
invalid-type warnings on printf's) as in standard usage, we can safely assume that all
keyframes are strictly on frame boundaries.

Commit Details:

Full Hash: 7461fead506ebac8bf730148e1ace66db116d18a
Parent Commit: 9e881d0
Lines Changed: +2, -1

1 Modified Path:

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