diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-02-27 05:03:33 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-02-27 05:03:33 +0300 |
commit | be44ac74907b3b38d8b3a3f7626f25fced02744c (patch) | |
tree | 59b7f982532965ab287f3484dbe00760396b02b4 /source/blender/makesrna/intern/rna_animation_api.c | |
parent | 15db857628198195936b80115329b8356645ea68 (diff) |
* Renaming some Keying Sets API functions to make the terminology more consistent in the UI
* Fixed bug with hotkeys for adding properties to Keying Sets using the KKEY over the relevant buttons. Was calling the remove callback instead.
Diffstat (limited to 'source/blender/makesrna/intern/rna_animation_api.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_animation_api.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_animation_api.c b/source/blender/makesrna/intern/rna_animation_api.c index 7ce93658789..208e3b9ca4c 100644 --- a/source/blender/makesrna/intern/rna_animation_api.c +++ b/source/blender/makesrna/intern/rna_animation_api.c @@ -41,7 +41,7 @@ #include "BKE_animsys.h" -static void rna_KeyingSet_add_destination(KeyingSet *keyingset, ReportList *reports, +static void rna_KeyingSet_add_path(KeyingSet *keyingset, ReportList *reports, ID *id, char rna_path[], int array_index, int entire_array, int grouping_method, char group_name[]) { @@ -53,11 +53,11 @@ static void rna_KeyingSet_add_destination(KeyingSet *keyingset, ReportList *repo /* if data is valid, call the API function for this */ if (keyingset) { - BKE_keyingset_add_destination(keyingset, id, group_name, rna_path, array_index, flag, grouping_method); + BKE_keyingset_add_path(keyingset, id, group_name, rna_path, array_index, flag, grouping_method); keyingset->active_path= BLI_countlist(&keyingset->paths); } else { - BKE_report(reports, RPT_ERROR, "Keying Set Destination could not be added."); + BKE_report(reports, RPT_ERROR, "Keying Set Path could not be added."); } } @@ -69,7 +69,7 @@ void RNA_api_keyingset(StructRNA *srna) PropertyRNA *parm; /* Add Destination */ - func= RNA_def_function(srna, "add_destination", "rna_KeyingSet_add_destination"); + func= RNA_def_function(srna, "add_destination", "rna_KeyingSet_add_path"); RNA_def_function_ui_description(func, "Add a new destination for the Keying Set."); RNA_def_function_flag(func, FUNC_USE_REPORTS); /* ID-block for target */ |