diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-28 08:44:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-28 08:46:08 +0300 |
commit | 1d8648b13a0667d338a4e60df004be7e41525968 (patch) | |
tree | 763c9e0b843850f6894101c8ad02a6bff34b5497 /source/blender/makesrna | |
parent | 23c4854f45d7cafa1cfadf13556b9277d4666bd1 (diff) |
Cleanup: repeated terms in code comments & error messages
Diffstat (limited to 'source/blender/makesrna')
5 files changed, 5 insertions, 5 deletions
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}, }; |