Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorAnkit Meel <ankitjmeel@gmail.com>2020-10-20 21:03:34 +0300
committerAnkit Meel <ankitjmeel@gmail.com>2020-10-20 22:39:31 +0300
commit98540511b18b10d79fd816dc3e00ca452917d591 (patch)
tree0c2e1a99b8e934dc9f27d6e6a7b504b09867313c /source
parentf76d9de7ed69f830e75613fedcb3b6e1026219b8 (diff)
Cleanup: Clang-tidy -readability-inconsistent-declaration-parameter-name
Changes in source/blender/makesrna only. No functional change.
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/RNA_access.h8
-rw-r--r--source/blender/makesrna/RNA_define.h2
-rw-r--r--source/blender/makesrna/intern/rna_access_compare_override.c12
3 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/makesrna/RNA_access.h b/source/blender/makesrna/RNA_access.h
index 8096c6d7d10..6b92c99df87 100644
--- a/source/blender/makesrna/RNA_access.h
+++ b/source/blender/makesrna/RNA_access.h
@@ -1145,13 +1145,13 @@ char *RNA_path_from_real_ID_to_struct(struct Main *bmain, PointerRNA *ptr, struc
char *RNA_path_from_ID_to_property(PointerRNA *ptr, PropertyRNA *prop);
char *RNA_path_from_ID_to_property_index(PointerRNA *ptr,
PropertyRNA *prop,
- int array_dim,
+ int index_dim,
int index);
char *RNA_path_from_real_ID_to_property_index(struct Main *bmain,
PointerRNA *ptr,
PropertyRNA *prop,
- int array_dim,
+ int index_dim,
int index,
struct ID **r_real_id);
@@ -1301,14 +1301,14 @@ char *RNA_pointer_as_string(struct bContext *C,
PointerRNA *ptr_prop);
char *RNA_pointer_as_string_keywords_ex(struct bContext *C,
PointerRNA *ptr,
- const bool skip_optional_value,
+ const bool as_function,
const bool all_args,
const bool nested_args,
const int max_prop_length,
PropertyRNA *iterprop);
char *RNA_pointer_as_string_keywords(struct bContext *C,
PointerRNA *ptr,
- const bool skip_optional_value,
+ const bool as_function,
const bool all_args,
const bool nested_args,
const int max_prop_length);
diff --git a/source/blender/makesrna/RNA_define.h b/source/blender/makesrna/RNA_define.h
index de8e13875a6..272246d75d3 100644
--- a/source/blender/makesrna/RNA_define.h
+++ b/source/blender/makesrna/RNA_define.h
@@ -66,7 +66,7 @@ void RNA_def_struct_flag(StructRNA *srna, int flag);
void RNA_def_struct_clear_flag(StructRNA *srna, int flag);
void RNA_def_struct_property_tags(StructRNA *srna, const EnumPropertyItem *prop_tag_defines);
void RNA_def_struct_refine_func(StructRNA *srna, const char *refine);
-void RNA_def_struct_idprops_func(StructRNA *srna, const char *refine);
+void RNA_def_struct_idprops_func(StructRNA *srna, const char *idproperties);
void RNA_def_struct_register_funcs(StructRNA *srna,
const char *reg,
const char *unreg,
diff --git a/source/blender/makesrna/intern/rna_access_compare_override.c b/source/blender/makesrna/intern/rna_access_compare_override.c
index 6a90d140cce..562738efdaa 100644
--- a/source/blender/makesrna/intern/rna_access_compare_override.c
+++ b/source/blender/makesrna/intern/rna_access_compare_override.c
@@ -122,14 +122,14 @@ bool RNA_property_comparable(PointerRNA *UNUSED(ptr), PropertyRNA *prop)
}
static bool rna_property_override_operation_apply(Main *bmain,
- PointerRNA *ptr_local,
- PointerRNA *ptr_override,
+ PointerRNA *ptr_dst,
+ PointerRNA *ptr_src,
PointerRNA *ptr_storage,
- PropertyRNA *prop_local,
- PropertyRNA *prop_override,
+ PropertyRNA *prop_dst,
+ PropertyRNA *prop_src,
PropertyRNA *prop_storage,
- PointerRNA *ptr_item_local,
- PointerRNA *ptr_item_override,
+ PointerRNA *ptr_item_dst,
+ PointerRNA *ptr_item_src,
PointerRNA *ptr_item_storage,
IDOverrideLibraryPropertyOperation *opop);