F-Modifier Goodies (as requested by @ndy):
authorJoshua Leung <aligorith@gmail.com>
Thu, 18 Mar 2010 13:04:46 +0000 (13:04 +0000)
committerJoshua Leung <aligorith@gmail.com>
Thu, 18 Mar 2010 13:04:46 +0000 (13:04 +0000)
commit618b459e8b3630eea747523febec666889a364f7
tree481c530e96e9e77ae09029f35a436475921bea39
parent148985edf03814b26f99bf4ae883c83db216ccf3
F-Modifier Goodies (as requested by @ndy):

* Copy/Paste operators for F-Modifiers
Available in Graph and NLA Editors. Use the Copy/Paste buttons beside the 'Add Modifier' buttons.

Copy copies all the modifiers of the ACTIVE F-Curve or Strip depending on the editor.
Paste pastes modifiers from the buffer to all the selected F-Curves or Strips, adding the new modifiers to the ends of each list.

* 'Stepped Interpolation' F-Modifier
This modifier holds each interpolated value from the F-Curve for several frames without changing the timing.

This allows to preview motions 'on-twos' for example without altering the timing, or having to go through setting heaps of keyframes. In this case, Andy wanted to use this for CG <-> StopMo.
16 files changed:
source/blender/blenkernel/BKE_fcurve.h
source/blender/blenkernel/intern/fmodifier.c
source/blender/editors/animation/fmodifier_ui.c
source/blender/editors/include/ED_anim_api.h
source/blender/editors/space_graph/graph_buttons.c
source/blender/editors/space_graph/graph_edit.c
source/blender/editors/space_graph/graph_intern.h
source/blender/editors/space_graph/graph_ops.c
source/blender/editors/space_nla/nla_buttons.c
source/blender/editors/space_nla/nla_edit.c
source/blender/editors/space_nla/nla_intern.h
source/blender/editors/space_nla/nla_ops.c
source/blender/makesdna/DNA_anim_types.h
source/blender/makesrna/RNA_access.h
source/blender/makesrna/intern/rna_fcurve.c
source/blender/windowmanager/intern/wm_init_exit.c