diff options
author | Hans Goudey <h.goudey@me.com> | 2022-01-24 07:34:56 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-01-24 07:34:56 +0300 |
commit | 46475b8e1164ffbfc6fe4c61ec1c6f59fa3045a8 (patch) | |
tree | 4c4033201fc9b019f92a1a80897fbb46c95591be /source/blender/makesrna/intern | |
parent | 43e3a33082586982e0daa7f00df11df7dc1a3837 (diff) |
Cleanup: Grammar: its self vs. itself
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_access.c | 8 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_mesh.c | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_rna.c | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c index b64fa58cf6b..63eb016b5de 100644 --- a/source/blender/makesrna/intern/rna_access.c +++ b/source/blender/makesrna/intern/rna_access.c @@ -3260,10 +3260,10 @@ void RNA_property_string_set(PointerRNA *ptr, PropertyRNA *prop, const char *val rna_idproperty_touch(idprop); } else if (sprop->set) { - sprop->set(ptr, value); /* set function needs to clamp its self */ + sprop->set(ptr, value); /* set function needs to clamp itself */ } else if (sprop->set_ex) { - sprop->set_ex(ptr, prop, value); /* set function needs to clamp its self */ + sprop->set_ex(ptr, prop, value); /* set function needs to clamp itself */ } else if (prop->flag & PROP_EDITABLE) { IDProperty *group; @@ -3292,11 +3292,11 @@ void RNA_property_string_set_bytes(PointerRNA *ptr, PropertyRNA *prop, const cha } else if (sprop->set) { /* XXX, should take length argument (currently not used). */ - sprop->set(ptr, value); /* set function needs to clamp its self */ + sprop->set(ptr, value); /* set function needs to clamp itself */ } else if (sprop->set_ex) { /* XXX, should take length argument (currently not used). */ - sprop->set_ex(ptr, prop, value); /* set function needs to clamp its self */ + sprop->set_ex(ptr, prop, value); /* set function needs to clamp itself */ } else if (prop->flag & PROP_EDITABLE) { IDProperty *group; diff --git a/source/blender/makesrna/intern/rna_mesh.c b/source/blender/makesrna/intern/rna_mesh.c index 552cd836d76..b0acd30dc04 100644 --- a/source/blender/makesrna/intern/rna_mesh.c +++ b/source/blender/makesrna/intern/rna_mesh.c @@ -3157,7 +3157,7 @@ static void rna_def_mesh(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Loop Triangles", "Tessellation of mesh polygons into triangles"); rna_def_mesh_looptris(brna, prop); - /* TODO: should this be allowed to be its self? */ + /* TODO: should this be allowed to be itself? */ prop = RNA_def_property(srna, "texture_mesh", PROP_POINTER, PROP_NONE); RNA_def_property_pointer_sdna(prop, NULL, "texcomesh"); RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_SELF_CHECK); diff --git a/source/blender/makesrna/intern/rna_rna.c b/source/blender/makesrna/intern/rna_rna.c index 3e150d03bf0..85955c5e9f7 100644 --- a/source/blender/makesrna/intern/rna_rna.c +++ b/source/blender/makesrna/intern/rna_rna.c @@ -2984,14 +2984,14 @@ static void rna_def_function(BlenderRNA *brna) RNA_def_property_ui_text( prop, "No Self", - "Function does not pass its self as an argument (becomes a static method in python)"); + "Function does not pass itself as an argument (becomes a static method in python)"); prop = RNA_def_property(srna, "use_self_type", PROP_BOOLEAN, PROP_NONE); RNA_def_property_clear_flag(prop, PROP_EDITABLE); RNA_def_property_boolean_funcs(prop, "rna_Function_use_self_type_get", NULL); RNA_def_property_ui_text(prop, "Use Self Type", - "Function passes its self type as an argument (becomes a class method " + "Function passes itself type as an argument (becomes a class method " "in python if use_self is false)"); } |