From 394b3fcede01356764bb91883a2f32b08b0a6ca3 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Sun, 15 Feb 2009 07:00:13 +0000 Subject: 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. --- source/blender/blenkernel/BKE_animsys.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/blenkernel/BKE_animsys.h') 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); -- cgit v1.2.3