Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_animsys.h
| Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | |||||
| /* Set active action used by AnimData from the given ID-block */ | /* Set active action used by AnimData from the given ID-block */ | ||||
| bool BKE_animdata_set_action(struct ReportList *reports, struct ID *id, struct bAction *act); | bool BKE_animdata_set_action(struct ReportList *reports, struct ID *id, struct bAction *act); | ||||
| /* Free AnimData */ | /* Free AnimData */ | ||||
| void BKE_animdata_free(struct ID *id, const bool do_id_user); | void BKE_animdata_free(struct ID *id, const bool do_id_user); | ||||
| /* Copy AnimData */ | /* Copy AnimData */ | ||||
| struct AnimData *BKE_animdata_copy(struct AnimData *adt, const bool do_action); | struct AnimData *BKE_animdata_copy(struct Main *bmain, struct AnimData *adt, const bool do_action); | ||||
| /* Copy AnimData */ | /* Copy AnimData */ | ||||
| bool BKE_animdata_copy_id(struct ID *id_to, struct ID *id_from, const bool do_action); | bool BKE_animdata_copy_id(struct Main *bmain, struct ID *id_to, struct ID *id_from, const bool do_action); | ||||
| /* Copy AnimData Actions */ | /* Copy AnimData Actions */ | ||||
| void BKE_animdata_copy_id_action(struct ID *id, const bool set_newid); | void BKE_animdata_copy_id_action(struct ID *id, const bool set_newid); | ||||
| /* Merge copies of data from source AnimData block */ | /* Merge copies of data from source AnimData block */ | ||||
| typedef enum eAnimData_MergeCopy_Modes { | typedef enum eAnimData_MergeCopy_Modes { | ||||
| /* Keep destination action */ | /* Keep destination action */ | ||||
| ADT_MERGECOPY_KEEP_DST = 0, | ADT_MERGECOPY_KEEP_DST = 0, | ||||
| Show All 15 Lines | |||||
| /* Add a path to a KeyingSet */ | /* Add a path to a KeyingSet */ | ||||
| struct KS_Path *BKE_keyingset_add_path(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_add_path(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 */ | /* Find the destination matching the criteria given */ | ||||
| struct KS_Path *BKE_keyingset_find_path(struct KeyingSet *ks, struct ID *id, const char group_name[], const char rna_path[], int array_index, int group_mode); | struct KS_Path *BKE_keyingset_find_path(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 */ | /* Copy all KeyingSets in the given list */ | ||||
| void BKE_keyingsets_copy(struct ListBase *newlist, struct ListBase *list); | void BKE_keyingsets_copy(struct ListBase *newlist, const struct ListBase *list); | ||||
| /* Free the given Keying Set path */ | /* Free the given Keying Set path */ | ||||
| void BKE_keyingset_free_path(struct KeyingSet *ks, struct KS_Path *ksp); | void BKE_keyingset_free_path(struct KeyingSet *ks, struct KS_Path *ksp); | ||||
| /* Free data for KeyingSet but not set itself */ | /* Free data for KeyingSet but not set itself */ | ||||
| void BKE_keyingset_free(struct KeyingSet *ks); | void BKE_keyingset_free(struct KeyingSet *ks); | ||||
| /* Free all the KeyingSets in the given list */ | /* Free all the KeyingSets in the given list */ | ||||
| ▲ Show 20 Lines • Show All 90 Lines • Show Last 20 Lines | |||||