diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-02-12 13:41:57 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-02-12 13:41:57 +0300 |
commit | 4075c601336967f1714d8eee12e24b3b1f503978 (patch) | |
tree | 9311db72f035fe3d8a6e5b252be76234d78f2a08 /source/blender/blenkernel | |
parent | 517d9b882a75f177e68c83252e5b560b735b1842 (diff) |
KeyingSets: First working prototype
To use KeyingSets, simply Outliner-select items in the Datablocks view and press K to add to the active KeyingSet. Then keyframes can be inserted by choosing the 'Active Keying Set' option when inserting keyframes.
Important notes on the current implementation:
* Only properties directly inside some ID-block that is close to the root (i.e. main -> objects -> "someobj" -> location, or main -> materials -> "somemat" -> colour) can be accessed for now, as I haven't got the code for building the inner-parts of the paths working yet. Help on getting this working is welcome (hint to Brecht).
* Properties that can be safely included include simple properties "object -> Dupli Verts", entire arrays "object -> Location" or individual array elements "object -> Location -> y"
---
Also added typo fix for KeyingSet freeing. It was freeing the KeyingSet instead of it's paths.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/anim_sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/anim_sys.c b/source/blender/blenkernel/intern/anim_sys.c index 55597b635c9..098d0ad7a32 100644 --- a/source/blender/blenkernel/intern/anim_sys.c +++ b/source/blender/blenkernel/intern/anim_sys.c @@ -248,7 +248,7 @@ void BKE_keyingset_free (KeyingSet *ks) MEM_freeN(ksp->rna_path); /* free path itself */ - BLI_freelinkN(&ks->paths, ks); + BLI_freelinkN(&ks->paths, ksp); } } |