Blender Git Commit Log

Git Commits -> Revision b4acd77

Revision b4acd77 by Joshua Leung (master)
June 23, 2009, 13:25 (GMT)
NLA SoC: Big Commit - Restored NLA-Mapping Corrections

In TweakMode, the keyframes of the Active Action are now shown (and can be edited) in NLA-mapped time, with appropriate corrections applied when editing. This works in the DopeSheet and Graph Editors :)

To do this, got rid of the old wrappers/API-methods, replacing them with new-style ones. A few methods previously (in this branch) used only for evaluation are now used for this purpose too. As the same code is used for editing + evaluation, this should now be much better to work with.

I've only done a few brief tests now, but I think I might've muddled the invert-flags on one or two cases which I'll need to check out tomorrow. So, beware that there may be some weird and critical bugs for the next few days here...

Also, added proper license headers to new NLA files.


TODO:
- testing + bugfixing due to this commit
- show range of keyframes in NLA Editor active-action line

Commit Details:

Full Hash: b4acd77526f32faab0c3d86436eef56096985c3d
SVN Revision: 21106
Parent Commit: aa26797
Lines Changed: +569, -440

1 Added Path:

/source/blender/blenkernel/nla_private.h (+78, -0) (View)

21 Modified Paths:

/source/blender/blenkernel/BKE_action.h (+0, -6) (Diff)
/source/blender/blenkernel/BKE_nla.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/action.c (+0, -42) (Diff)
/source/blender/blenkernel/intern/anim_sys.c (+31, -127) (Diff)
/source/blender/blenkernel/intern/fcurve.c (+27, -2) (Diff)
/source/blender/blenkernel/intern/nla.c (+136, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+4, -0) (Diff)
/source/blender/editors/animation/anim_draw.c (+28, -44) (Diff)
/source/blender/editors/animation/keyframes_draw.c (+9, -9) (Diff)
/source/blender/editors/include/ED_anim_api.h (+6, -8) (Diff)
/source/blender/editors/include/ED_keyframes_draw.h (+3, -2) (Diff)
/source/blender/editors/space_action/action_draw.c (+12, -12) (Diff)
/source/blender/editors/space_action/action_edit.c (+29, -19) (Diff)
/source/blender/editors/space_action/action_select.c (+23, -22) (Diff)
/source/blender/editors/space_graph/graph_draw.c (+5, -5) (Diff)
/source/blender/editors/space_graph/graph_edit.c (+35, -16) (Diff)
/source/blender/editors/space_graph/graph_select.c (+28, -18) (Diff)
/source/blender/editors/transform/transform.c (+29, -29) (Diff)
/source/blender/editors/transform/transform_conversions.c (+57, -46) (Diff)
/source/blender/editors/transform/transform_generics.c (+0, -31) (Diff)
/source/blender/makesdna/DNA_anim_types.h (+27, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021