[Bf-blender-cvs] [ccda7ef9961] master: Cleanup: Animation, match parameter names in declaration with implementation

Sybren A. Stüvel noreply at git.blender.org
Fri Feb 7 13:56:13 CET 2020


Commit: ccda7ef9961314a7e60a3f81bd63171dbde0019c
Author: Sybren A. Stüvel
Date:   Fri Feb 7 13:56:04 2020 +0100
Branches: master
https://developer.blender.org/rBccda7ef9961314a7e60a3f81bd63171dbde0019c

Cleanup: Animation, match parameter names in declaration with implementation

The implementation had more descriptive parameter names, so I copied those
to the declarations.

No functional changes.

===================================================================

M	source/blender/blenkernel/BKE_fcurve.h

===================================================================

diff --git a/source/blender/blenkernel/BKE_fcurve.h b/source/blender/blenkernel/BKE_fcurve.h
index 405b052f477..d389b557503 100644
--- a/source/blender/blenkernel/BKE_fcurve.h
+++ b/source/blender/blenkernel/BKE_fcurve.h
@@ -87,7 +87,7 @@ void bezt_add_to_cfra_elem(ListBase *lb, struct BezTriple *bezt);
 void fcurve_free_driver(struct FCurve *fcu);
 struct ChannelDriver *fcurve_copy_driver(const struct ChannelDriver *driver);
 
-void driver_variables_copy(struct ListBase *dst_list, const struct ListBase *src_list);
+void driver_variables_copy(struct ListBase *dst_vars, const struct ListBase *src_vars);
 
 void BKE_driver_target_matrix_to_rot_channels(
     float mat[4][4], int auto_order, int rotation_mode, int channel, bool angles, float r_buf[4]);
@@ -280,7 +280,7 @@ struct FCurve *rna_get_fcurve_context_ui(struct bContext *C,
                                          struct PointerRNA *ptr,
                                          struct PropertyRNA *prop,
                                          int rnaindex,
-                                         struct AnimData **r_adt,
+                                         struct AnimData **r_animdata,
                                          struct bAction **r_action,
                                          bool *r_driven,
                                          bool *r_special);



More information about the Bf-blender-cvs mailing list