Blender Git Loki

Git Commits -> Revision 38a33eb

Revision 38a33eb by Joshua Leung (master)
January 10, 2008, 01:36 (GMT)
== Auto-Keyframing Refactor (Peach Request) ==

Refactored Auto-Keyframing to make it easier to add more options. There are now three "states" for auto-keying: off, add/replace keys, replace keys.

Description of modes:
1) No auto-keying is done
2) Add new keyframes or replace existing ones if possible (old behaviour)
3) Only modify existing keys, but not insert new ones.

Internally, I've moved the auto-keying settings out of G.flag and U.uiflag and moved them into their own variables in Userdef, and provided some macros to access those easily. As a result, old auto-keying settings are currently lost.

Also, removed the manual calls to insertkey done in pose-relax. The reason auto-keying didn't work before was because the bones didn't have the BONE_TRANSFORM flag applied. Now, these are set temporarily.


Todo(s):
* Make icons for the TimeLine header menu (currently just a text menu)
* Add version-patches for old files
* Double-check code for all places that use auto-keying (i.e. PoseLib)

Commit Details:

Full Hash: 38a33eb7da8211c16fa63f73aa3d4a3e5d7773c3
SVN Revision: 13190
Parent Commit: 5b0b214
Lines Changed: +136, -93

10 Modified Paths:

/source/blender/blenkernel/BKE_global.h (+2, -2) (Diff)
/source/blender/include/transform.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+27, -12) (Diff)
/source/blender/src/editipo.c (+1, -1) (Diff)
/source/blender/src/editview.c (+2, -2) (Diff)
/source/blender/src/header_time.c (+6, -3) (Diff)
/source/blender/src/poselib.c (+4, -2) (Diff)
/source/blender/src/poseobject.c (+22, -39) (Diff)
/source/blender/src/space.c (+12, -18) (Diff)
/source/blender/src/transform_conversions.c (+59, -14) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021