diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-02-15 10:00:13 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-02-15 10:00:13 +0300 |
commit | 394b3fcede01356764bb91883a2f32b08b0a6ca3 (patch) | |
tree | 5f2ad941c1619c9dc50056489d0503e94cbc5142 /source/blender/blenkernel/BKE_animsys.h | |
parent | c56d635318288fc5f6bf4c9d9fe8f86a645a54f1 (diff) |
Keying Sets: Added 'remove selected from active set' (Alt-K) operator in Outliner
* Cleaned up the helper functions for the Outliner operators which deal with Keying Sets
* Fixed a few minor bugs in the Keying Sets API that won't show up with the current tools, but may crop up later
* Added a new method to find a 'matching' path in a Keying Set. Now adding a new path to a Keying Set will firstly check if there is any similar path already, and skip adding another path.
Diffstat (limited to 'source/blender/blenkernel/BKE_animsys.h')
-rw-r--r-- | source/blender/blenkernel/BKE_animsys.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_animsys.h b/source/blender/blenkernel/BKE_animsys.h index 9da78aa5676..44c8d827e8c 100644 --- a/source/blender/blenkernel/BKE_animsys.h +++ b/source/blender/blenkernel/BKE_animsys.h @@ -10,6 +10,7 @@ struct ListBase; struct Main; struct AnimData; struct KeyingSet; +struct KS_Path; /* ************************************* */ /* AnimData API */ @@ -35,6 +36,8 @@ struct KeyingSet *BKE_keyingset_add(struct ListBase *list, const char name[], sh /* Add a destination to a KeyingSet */ void BKE_keyingset_add_destination(struct KeyingSet *ks, struct ID *id, const char group_name[], const char rna_path[], int array_index, short flag, short groupmode); +struct KS_Path *BKE_keyingset_find_destination(struct KeyingSet *ks, struct ID *id, const char group_name[], const char rna_path[], int array_index, int group_mode); + /* Free data for KeyingSet but not set itself */ void BKE_keyingset_free(struct KeyingSet *ks); |