diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_animsys.h')
-rw-r--r-- | source/blender/blenkernel/BKE_animsys.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_animsys.h b/source/blender/blenkernel/BKE_animsys.h index cc5b4dfdcaf..045095567bc 100644 --- a/source/blender/blenkernel/BKE_animsys.h +++ b/source/blender/blenkernel/BKE_animsys.h @@ -67,6 +67,7 @@ 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); +/* Find the destination matching the criteria given */ 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); /* Copy all KeyingSets in the given list */ @@ -79,6 +80,15 @@ void BKE_keyingset_free(struct KeyingSet *ks); void BKE_keyingsets_free(struct ListBase *list); /* ************************************* */ +/* Path Fixing API */ + +/* Fix all the paths for the given ID+AnimData */ +void BKE_animdata_fix_paths_rename(struct ID *owner_id, struct AnimData *adt, char *prefix, char *oldName, char *newName); + +/* Fix all the paths for the entire database... */ +void BKE_all_animdata_fix_paths_rename(char *prefix, char *oldName, char *newName); + +/* ************************************* */ // TODO: overrides, remapping, and path-finding api's /* ************************************* */ |