Project Pampa request: FCurves normalized display
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 29 Oct 2013 18:10:52 +0000 (18:10 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 29 Oct 2013 18:10:52 +0000 (18:10 +0000)
commit16d13e0db9d75566735966d81d213958df3ca7e5
tree90d32baaabc12a690360bea0f9129bd2c2e1b436
parentf6e504cee9f85867554f5a0ab89b52a66c0f257e
Project Pampa request: FCurves normalized display

Added two options to a header of FCurve editor:

- Normalize which makes it so every individual
  curve is fit into -1..1 space.

- Auto-normalize, which probably is to be called
  "Lock" which "locks" curve normalization scale.
  This is useful to prevent curves from jumping
  around when tweaking it.

It's debatable whether it need to be a button to
normalize curves n purpose only, and it's fully
depends on animator's workflow.

Here during Project Pampa we've got Francesco
who get used to auto-renormalization and Hjalti
who prefers locked behavior.

Docs are to be ready soon by Francesco.
Thanks Brecht for the review!
release/scripts/startup/bl_ui/space_graph.py
source/blender/blenkernel/BKE_global.h
source/blender/editors/animation/anim_draw.c
source/blender/editors/include/ED_anim_api.h
source/blender/editors/space_graph/graph_draw.c
source/blender/editors/space_graph/graph_edit.c
source/blender/editors/space_graph/graph_select.c
source/blender/editors/transform/transform_conversions.c
source/blender/makesdna/DNA_anim_types.h
source/blender/makesdna/DNA_space_types.h
source/blender/makesrna/intern/rna_space.c