Fix typos in source code using codespell

From https://github.com/lucasdemarchi/codespell
This commit is contained in:
Rémi Verschelde 2017-03-24 21:45:31 +01:00
parent c103f32ea3
commit debeee56f7
98 changed files with 180 additions and 182 deletions

View file

@ -470,7 +470,7 @@ bool ShaderEditorPlugin::handles(Object *p_object) const {
bool handles = true;
Shader *shader = p_object->cast_to<Shader>();
/*
if (!shader || shader->cast_to<ShaderGraph>()) // Dont handle ShaderGraph's
if (!shader || shader->cast_to<ShaderGraph>()) // Don't handle ShaderGraph's
handles = false;
*/

View file

@ -2425,7 +2425,7 @@ void ShaderGraphView::_create_node(int p_id) {
colors.push_back("ShadowColor");
colors.push_back("Diffuse");
colors.push_back("Specular");
colors.push_back("Emmision");
colors.push_back("Emission");
Array reals;
reals.push_back("Alpha");
reals.push_back("DiffuseAlpha");

View file

@ -710,7 +710,7 @@ void TextureRegionEditor::_edit_region() {
autoslice_cache.erase(F->next());
} else {
queue_erase = true;
//Cant delete the first rect in the list.
//Can't delete the first rect in the list.
}
merged = true;
}