mirror of
https://github.com/godotengine/godot.git
synced 2025-01-22 01:41:51 +00:00
Fix typos with codespell
Using codespell 2.1.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang ans ba curvelinear dof doubleclick fave findn gird inout leapyear lod merchantibility nd numer ois ony que readded seeked statics
This commit is contained in:
parent
9e97262132
commit
a01b18a476
@ -103,7 +103,7 @@ private:
|
||||
Octant *parent = nullptr;
|
||||
Octant *children[8] = { nullptr };
|
||||
|
||||
int children_count = 0; // cache for amount of childrens (fast check for removal)
|
||||
int children_count = 0; // cache for amount of children (fast check for removal)
|
||||
int parent_index = -1; // cache for parent index (fast check for removal)
|
||||
|
||||
List<Element *, AL> pairable_elements;
|
||||
|
@ -15,7 +15,7 @@
|
||||
var err = ctx.start(HashingContext.HASH_SHA256, key)
|
||||
assert(err == OK)
|
||||
var msg1 = "this is ".to_utf8()
|
||||
var msg2 = "vewy vewy secret".to_utf8()
|
||||
var msg2 = "super duper secret".to_utf8()
|
||||
err = ctx.update(msg1)
|
||||
assert(err == OK)
|
||||
err = ctx.update(msg2)
|
||||
@ -38,7 +38,7 @@
|
||||
Error err = ctx.Start(HashingContext.HASH_SHA256, key);
|
||||
GD.Assert(err == OK);
|
||||
PackedByteArray msg1 = String("this is ").to_utf8();
|
||||
PackedByteArray msg2 = String("vewy vew secret").to_utf8();
|
||||
PackedByteArray msg2 = String("super duper secret").to_utf8();
|
||||
err = ctx.Update(msg1);
|
||||
GD.Assert(err == OK);
|
||||
err = ctx.Update(msg2);
|
||||
|
@ -1325,7 +1325,7 @@ public:
|
||||
struct Frame {
|
||||
RenderTarget *current_rt;
|
||||
|
||||
// these 2 may have been superceded by the equivalents in the render target.
|
||||
// these 2 may have been superseded by the equivalents in the render target.
|
||||
// these may be able to be removed.
|
||||
bool clear_request;
|
||||
Color clear_request_color;
|
||||
|
@ -261,7 +261,7 @@ void EditorInspectorPluginMaterial::_undo_redo_inspector_callback(Object *p_undo
|
||||
}
|
||||
|
||||
// For BaseMaterial3D, if a roughness or metallic textures is being assigned to an empty slot,
|
||||
// set the respective metallic or roughness factor to 1.0 as a convinence feature
|
||||
// set the respective metallic or roughness factor to 1.0 as a convenience feature
|
||||
BaseMaterial3D *base_material = Object::cast_to<StandardMaterial3D>(p_edited);
|
||||
if (base_material) {
|
||||
Texture2D *texture = Object::cast_to<Texture2D>(p_new_value);
|
||||
|
@ -353,15 +353,15 @@ void ScriptCreateDialog::_load_exist() {
|
||||
}
|
||||
|
||||
Vector<String> ScriptCreateDialog::get_hierarchy(String p_object) const {
|
||||
Vector<String> hierachy;
|
||||
hierachy.append(p_object);
|
||||
Vector<String> hierarchy;
|
||||
hierarchy.append(p_object);
|
||||
|
||||
String parent_class = ClassDB::get_parent_class(p_object);
|
||||
while (parent_class.is_valid_identifier()) {
|
||||
hierachy.append(parent_class);
|
||||
hierarchy.append(parent_class);
|
||||
parent_class = ClassDB::get_parent_class(parent_class);
|
||||
}
|
||||
return hierachy;
|
||||
return hierarchy;
|
||||
}
|
||||
|
||||
void ScriptCreateDialog::_language_changed(int l) {
|
||||
@ -544,7 +544,7 @@ void ScriptCreateDialog::_update_template_menu() {
|
||||
template_list.clear();
|
||||
|
||||
if (is_language_using_templates) {
|
||||
// Get the lastest templates used for each type of node from project settings then global settings.
|
||||
// Get the latest templates used for each type of node from project settings then global settings.
|
||||
Dictionary last_local_templates = EditorSettings::get_singleton()->get_project_metadata("script_setup", "templates_dictionary", Dictionary());
|
||||
Dictionary last_global_templates;
|
||||
if (EditorSettings::get_singleton()->has_meta("script_setup/templates_dictionary")) {
|
||||
|
Loading…
Reference in New Issue
Block a user