Misc. typos
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
This commit is contained in:
parent
0d04fb76e1
commit
08bde5b2de
81 changed files with 123 additions and 123 deletions
|
|
@ -1905,7 +1905,7 @@ EditorPropertyNodePath::EditorPropertyNodePath() {
|
|||
clear->connect("pressed", this, "_node_clear");
|
||||
hbc->add_child(clear);
|
||||
|
||||
scene_tree = NULL; //do not allocate unnecesarily
|
||||
scene_tree = NULL; //do not allocate unnecessarily
|
||||
}
|
||||
|
||||
////////////// RESOURCE //////////////////////
|
||||
|
|
@ -2670,7 +2670,7 @@ bool EditorInspectorDefaultPlugin::parse_property(Object *p_object, Variant::Typ
|
|||
case PROPERTY_HINT_LAYERS_3D_PHYSICS:
|
||||
lt = EditorPropertyLayers::LAYER_PHYSICS_3D;
|
||||
break;
|
||||
default: {} //compiler could be smarter here and realize this cant happen
|
||||
default: {} //compiler could be smarter here and realize this can't happen
|
||||
}
|
||||
EditorPropertyLayers *editor = memnew(EditorPropertyLayers);
|
||||
editor->setup(lt);
|
||||
|
|
@ -2687,7 +2687,7 @@ bool EditorInspectorDefaultPlugin::parse_property(Object *p_object, Variant::Typ
|
|||
bool greater = true, lesser = true;
|
||||
|
||||
if (p_hint == PROPERTY_HINT_RANGE && p_hint_text.get_slice_count(",") >= 2) {
|
||||
greater = false; //if using ranged, asume false by default
|
||||
greater = false; //if using ranged, assume false by default
|
||||
lesser = false;
|
||||
min = p_hint_text.get_slice(",", 0).to_int();
|
||||
max = p_hint_text.get_slice(",", 1).to_int();
|
||||
|
|
@ -2735,7 +2735,7 @@ bool EditorInspectorDefaultPlugin::parse_property(Object *p_object, Variant::Typ
|
|||
bool greater = true, lesser = true;
|
||||
|
||||
if ((p_hint == PROPERTY_HINT_RANGE || p_hint == PROPERTY_HINT_EXP_RANGE) && p_hint_text.get_slice_count(",") >= 2) {
|
||||
greater = false; //if using ranged, asume false by default
|
||||
greater = false; //if using ranged, assume false by default
|
||||
lesser = false;
|
||||
min = p_hint_text.get_slice(",", 0).to_double();
|
||||
max = p_hint_text.get_slice(",", 1).to_double();
|
||||
|
|
@ -3068,7 +3068,7 @@ bool EditorInspectorDefaultPlugin::parse_property(Object *p_object, Variant::Typ
|
|||
default: {}
|
||||
}
|
||||
|
||||
return false; //can be overriden, although it will most likely be last anyway
|
||||
return false; //can be overridden, although it will most likely be last anyway
|
||||
}
|
||||
|
||||
void EditorInspectorDefaultPlugin::parse_end() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue