Blender Git Commit Log

Git Commits -> Revision d89a8c3

Revision d89a8c3 by Joshua Leung (master)
March 19, 2010, 03:38 (GMT)
More F-Modifier Tweaks:

This commit started out aiming to make the "Stepped" F-Modifier (committed last night) even more useful, but ended up fixing a few other finer-points of how F-Modifiers work.

Firstly, the new stuff:
I've addded options to the Stepped F-Modifier to not affect frames before and/or after specified values, and renamed the 'start offset' to 'offset' for clarity.

The main objective of this is to allow Stepped F-Modifiers to only affect certain time ranges, so that by layering/using multiple instances of the F-Modifier, it can be possible to have multiple stepping-sizes.

This allows for effects like:
http://www.pasteall.org/blend/2230
or in words, it provides a convenient mechanism for animators to specify whether sections of the animation is shown "on twos", "fours", or even "forty-second-ths plus a smidgen", as can be easily done with 2D.

Assorted changes to support this:
* Properly fixed up how F-Modifiers that work with time, evaluate the time to evaluate the curve at. Now layered time effects like this should be possible in a much nicer way.

* Added proper value range validation/clamping to many properties. There are still a lot more that need checking, but at least more properties now do "the right thing".

Commit Details:

Full Hash: d89a8c34f3dc1a2923b6853c260de4f1deab9466
SVN Revision: 27609
Parent Commit: 5e7b1bd
Lines Changed: +158, -35

4 Modified Paths:

/source/blender/blenkernel/intern/fmodifier.c (+23, -8) (Diff)
/source/blender/editors/animation/fmodifier_ui.c (+41, -23) (Diff)
/source/blender/makesdna/DNA_anim_types.h (+12, -1) (Diff)
/source/blender/makesrna/intern/rna_fcurve.c (+82, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021