Blender Git Commit Log

Git Commits -> Revision a1d553a

Revision a1d553a by Joshua Leung (master)
November 4, 2013, 04:18 (GMT)
Bugfix [#36950] Restrict Frame Range not being obeyed on Driver F-Curves

By default, drivers (used to) automatically map the driver result (i.e.
"evaltime" or the x-coordinates in the driver graphs) to results. This evaltime
=> cvalue mapping is necessary when there are absolutely no keyframes or
modifiers on a driver F-Curve, or else nothing would happen.

However, when there are modifiers on these driver F-Curves, and these modifiers
only work within certain ranges, there would be confusing and unwanted
situations where even if you clamped the modifiers to only generating a curve
within certain frame ranges, the final driver output would still ignore the
results of the curve due to the underlying 1-1 mapping.

This commit introduces a check to ensure that this automatic mapping won't
happen during such invalid ranges.

Commit Details:

Full Hash: a1d553a8f388f1e4064b5c80dd9a9621d8172eb3
SVN Revision: 61077
Parent Commit: 0b2d9ff
Lines Changed: +30, -2

1 Modified Path:

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