39 struct AnimatedPropertyStoreCalbackData {
49 void animated_property_store_cb(
ID *
id,
FCurve *fcurve,
void *data_v)
51 AnimatedPropertyStoreCalbackData *
data =
reinterpret_cast<AnimatedPropertyStoreCalbackData *
>(
79 : rna_path(rna_path), array_index(array_index), value(value)
103 AnimatedPropertyStoreCalbackData
data;
123 value_backup.rna_path.c_str(),
124 value_backup.array_index,
bool BKE_animsys_write_to_rna_path(struct PathResolvedRNA *anim_rna, const float value)
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, const int array_index, struct PathResolvedRNA *r_result)
bool BKE_animsys_read_from_rna_path(struct PathResolvedRNA *anim_rna, float *r_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)