23 struct AnimatedPropertyStoreCalbackData {
33 void animated_property_store_cb(
ID *
id,
FCurve *fcurve,
void *data_v)
35 AnimatedPropertyStoreCalbackData *
data =
reinterpret_cast<AnimatedPropertyStoreCalbackData *
>(
63 : rna_path(rna_path), array_index(array_index), value(value)
87 AnimatedPropertyStoreCalbackData
data;
107 value_backup.rna_path.c_str(),
108 value_backup.array_index,
void BKE_fcurves_id_cb(struct ID *id, ID_FCurve_Edit_Callback func, void *user_data)
bool BKE_animsys_rna_path_resolve(struct PointerRNA *ptr, const char *rna_path, int array_index, struct PathResolvedRNA *r_result)
bool BKE_animsys_read_from_rna_path(struct PathResolvedRNA *anim_rna, float *r_value)
bool BKE_animsys_write_to_rna_path(struct PathResolvedRNA *anim_rna, float value)
void restore_to_id(ID *id)
void init_from_id(ID *id)
Vector< AnimationValueBackup > values_backup
AnimationBackup(const Depsgraph *depsgraph)
AnimationValueBackup()=default
const Depsgraph * depsgraph
PointerRNA id_pointer_rna
void RNA_id_pointer_create(ID *id, PointerRNA *r_ptr)