diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-03-01 20:42:48 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-03-01 20:44:26 +0300 |
commit | 77bc5510a90bbfcc7adaed6a0e4c4768cb236239 (patch) | |
tree | 5ad649157fe350edaecbffd99ed6f15de7d2425c /source/blender/blenkernel/BKE_animsys.h | |
parent | 4cc04beb77367c94af9d303d38876739e5fe4b9b (diff) |
Cleanup: rename some animation-related functions
Rename:
- `BKE_animsys_store_rna_setting` → `BKE_animsys_rna_path_resolve`
- `BKE_animsys_read_rna_setting` → `BKE_animsys_read_from_rna_path`
- `BKE_animsys_write_rna_setting` → `BKE_animsys_write_to_rna_path`
The concept of "RNA setting" is unclear; the new names reflect better
what the functions actually do.
No functional changes.
Diffstat (limited to 'source/blender/blenkernel/BKE_animsys.h')
-rw-r--r-- | source/blender/blenkernel/BKE_animsys.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenkernel/BKE_animsys.h b/source/blender/blenkernel/BKE_animsys.h index 2fce4bfc5b8..8666291cec8 100644 --- a/source/blender/blenkernel/BKE_animsys.h +++ b/source/blender/blenkernel/BKE_animsys.h @@ -235,12 +235,12 @@ typedef enum eAnimData_Recalc { ADT_RECALC_ALL = (ADT_RECALC_DRIVERS | ADT_RECALC_ANIM), } eAnimData_Recalc; -bool BKE_animsys_store_rna_setting(struct PointerRNA *ptr, - const char *rna_path, - const int array_index, - struct PathResolvedRNA *r_result); -bool BKE_animsys_read_rna_setting(struct PathResolvedRNA *anim_rna, float *r_value); -bool BKE_animsys_write_rna_setting(struct PathResolvedRNA *anim_rna, const float value); +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); +bool BKE_animsys_write_to_rna_path(struct PathResolvedRNA *anim_rna, const float value); /* Evaluation loop for evaluating animation data */ void BKE_animsys_evaluate_animdata(struct ID *id, |