From 1d8648b13a0667d338a4e60df004be7e41525968 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 28 Jun 2021 15:44:12 +1000 Subject: Cleanup: repeated terms in code comments & error messages --- source/blender/makesrna/intern/rna_access_compare_override.c | 2 +- source/blender/makesrna/intern/rna_action.c | 2 +- source/blender/makesrna/intern/rna_fluid.c | 2 +- source/blender/makesrna/intern/rna_internal_types.h | 2 +- source/blender/makesrna/intern/rna_modifier.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender/makesrna') diff --git a/source/blender/makesrna/intern/rna_access_compare_override.c b/source/blender/makesrna/intern/rna_access_compare_override.c index 39e7774e5a4..c84ef1a6587 100644 --- a/source/blender/makesrna/intern/rna_access_compare_override.c +++ b/source/blender/makesrna/intern/rna_access_compare_override.c @@ -748,7 +748,7 @@ bool RNA_struct_override_matches(Main *bmain, const char *prop_name = prop_local.identifier; const size_t prop_name_len = strlen(prop_name); - /* Inlined building, much much more efficient. */ + /* Inlined building (significantly more efficient). */ if (!prop_local.is_idprop) { rna_path_len = root_path_len + 1 + prop_name_len; if (rna_path_len >= RNA_PATH_BUFFSIZE) { diff --git a/source/blender/makesrna/intern/rna_action.c b/source/blender/makesrna/intern/rna_action.c index fb9f5e0292e..2aa09a30c75 100644 --- a/source/blender/makesrna/intern/rna_action.c +++ b/source/blender/makesrna/intern/rna_action.c @@ -89,7 +89,7 @@ static void rna_Action_groups_remove(bAction *act, ReportList *reports, PointerR return; } - /* move every one one of the group's F-Curves out into the Action again */ + /* Move every one of the group's F-Curves out into the Action again. */ for (fcu = agrp->channels.first; (fcu) && (fcu->grp == agrp); fcu = fcn) { fcn = fcu->next; diff --git a/source/blender/makesrna/intern/rna_fluid.c b/source/blender/makesrna/intern/rna_fluid.c index dab76c84e6a..decdc728bbe 100644 --- a/source/blender/makesrna/intern/rna_fluid.c +++ b/source/blender/makesrna/intern/rna_fluid.c @@ -1986,7 +1986,7 @@ static void rna_def_fluid_domain_settings(BlenderRNA *brna) "e.g. 5*10^-6)"); RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_Fluid_datacache_reset"); - /* mesh options options */ + /* Mesh options. */ prop = RNA_def_property(srna, "mesh_concave_upper", PROP_FLOAT, PROP_NONE); RNA_def_property_range(prop, 0.0, 10.0); diff --git a/source/blender/makesrna/intern/rna_internal_types.h b/source/blender/makesrna/intern/rna_internal_types.h index 245730919b0..0bb452dfb07 100644 --- a/source/blender/makesrna/intern/rna_internal_types.h +++ b/source/blender/makesrna/intern/rna_internal_types.h @@ -320,7 +320,7 @@ struct PropertyRNA { PropArrayLengthGetFunc getlength; /* dimension of array */ unsigned int arraydimension; - /* array lengths lengths for all dimensions (when arraydimension > 0) */ + /* Array lengths for all dimensions (when `arraydimension > 0`). */ unsigned int arraylength[RNA_MAX_ARRAY_DIMENSION]; unsigned int totarraylength; diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c index 674e5845ccb..9a895a0c75a 100644 --- a/source/blender/makesrna/intern/rna_modifier.c +++ b/source/blender/makesrna/intern/rna_modifier.c @@ -544,7 +544,7 @@ const EnumPropertyItem rna_enum_dt_mix_mode_items[] = { 0, "Multiply", "Multiply source value to destination one, using given threshold as factor"}, - /* etc. etc. */ + /* Etc. */ {0, NULL, 0, NULL, NULL}, }; -- cgit v1.2.3