You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix typos with codespell
This commit is contained in:
@@ -183,7 +183,7 @@ generous deed immortalized in the next stable release of Godot Engine.
|
|||||||
Cristopher
|
Cristopher
|
||||||
CT
|
CT
|
||||||
CzechBlueBea
|
CzechBlueBea
|
||||||
CzłowiekImadło
|
CzłowiekImadło
|
||||||
Daniel Reed
|
Daniel Reed
|
||||||
Daniel Tebbutt
|
Daniel Tebbutt
|
||||||
Darrian Little
|
Darrian Little
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ public:
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
struct SceneDataUBO {
|
struct SceneDataUBO {
|
||||||
//this is a std140 compatible struct. Please read the OpenGL 3.3 Specificaiton spec before doing any changes
|
//this is a std140 compatible struct. Please read the OpenGL 3.3 Specification spec before doing any changes
|
||||||
float projection_matrix[16];
|
float projection_matrix[16];
|
||||||
float inv_projection_matrix[16];
|
float inv_projection_matrix[16];
|
||||||
float camera_inverse_matrix[16];
|
float camera_inverse_matrix[16];
|
||||||
|
|||||||
@@ -1938,7 +1938,7 @@ void EditorFileSystem::reimport_files(const Vector<String> &p_files) {
|
|||||||
if (group_file_cache.has(p_files[i])) {
|
if (group_file_cache.has(p_files[i])) {
|
||||||
//maybe the file itself is a group!
|
//maybe the file itself is a group!
|
||||||
groups_to_reimport.insert(p_files[i]);
|
groups_to_reimport.insert(p_files[i]);
|
||||||
//groups do not belong to grups
|
//groups do not belong to groups
|
||||||
group_file = String();
|
group_file = String();
|
||||||
} else if (group_file != String()) {
|
} else if (group_file != String()) {
|
||||||
//it's a group file, add group to import and skip this file
|
//it's a group file, add group to import and skip this file
|
||||||
|
|||||||
@@ -783,7 +783,7 @@ void SpatialEditorViewport::_update_name() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (RoomManager::static_rooms_get_active_and_loaded()) {
|
if (RoomManager::static_rooms_get_active_and_loaded()) {
|
||||||
// TRANSLATORS: This will be appended to the view name when Portal Occulusion is enabled.
|
// TRANSLATORS: This will be appended to the view name when Portal Occlusion is enabled.
|
||||||
name += TTR(" [portals active]");
|
name += TTR(" [portals active]");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
SKIP_LIST="./thirdparty,*.gen.*,*.po,*.pot,package-lock.json,./core/string/locales.h,./DONORS.md,./misc/dist/linux/org.godotengine.Godot.desktop,./misc/scripts/codespell.sh"
|
SKIP_LIST="./.git,./bin,./thirdparty,*.gen.*,*.po,*.pot,package-lock.json,./core/string/locales.h,./DONORS.md,./misc/dist/linux/org.godotengine.Godot.desktop,./misc/scripts/codespell.sh"
|
||||||
IGNORE_LIST="ba,childs,commiting,complies,curvelinear,doubleclick,expct,fave,findn,gird,inout,leapyear,lod,nd,numer,ois,readded,ro,statics,switchs,te,varius,varn"
|
IGNORE_LIST="ba,childs,commiting,complies,curvelinear,doubleclick,expct,fave,findn,gird,inout,leapyear,lod,nd,numer,ois,readded,ro,statics,switchs,te,varius,varn"
|
||||||
|
|
||||||
codespell -w -q 3 -S "${SKIP_LIST}" -L "${IGNORE_LIST}"
|
codespell -w -q 3 -S "${SKIP_LIST}" -L "${IGNORE_LIST}"
|
||||||
|
|||||||
@@ -189,7 +189,7 @@ bool NativeScript::can_instance() const {
|
|||||||
|
|
||||||
#ifdef TOOLS_ENABLED
|
#ifdef TOOLS_ENABLED
|
||||||
// Only valid if this is either a tool script or a "regular" script.
|
// Only valid if this is either a tool script or a "regular" script.
|
||||||
// (so an environment whre scripting is disabled (and not the editor) would not
|
// (so an environment where scripting is disabled (and not the editor) would not
|
||||||
// create objects).
|
// create objects).
|
||||||
return script_data && (is_tool() || ScriptServer::is_scripting_enabled());
|
return script_data && (is_tool() || ScriptServer::is_scripting_enabled());
|
||||||
#else
|
#else
|
||||||
@@ -1760,7 +1760,7 @@ void NativeReloadNode::_notification(int p_what) {
|
|||||||
// Multiple GDNative libraries may be reloaded. The library and script
|
// Multiple GDNative libraries may be reloaded. The library and script
|
||||||
// path should match to prevent failing `NSL->library_classes` lookup
|
// path should match to prevent failing `NSL->library_classes` lookup
|
||||||
// from `get_script_desc()` in `script->_update_placeholder` below.
|
// from `get_script_desc()` in `script->_update_placeholder` below.
|
||||||
// This check also prevents "!script_data is true" error from occuring
|
// This check also prevents "!script_data is true" error from occurring
|
||||||
// when e. g. re-focusing editor window.
|
// when e. g. re-focusing editor window.
|
||||||
if (L->key() != U->key()) {
|
if (L->key() != U->key()) {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
@@ -277,7 +277,7 @@ bool HTTPRequest::_update_connection() {
|
|||||||
|
|
||||||
call_deferred("_request_done", RESULT_CHUNKED_BODY_SIZE_MISMATCH, response_code, response_headers, PoolByteArray());
|
call_deferred("_request_done", RESULT_CHUNKED_BODY_SIZE_MISMATCH, response_code, response_headers, PoolByteArray());
|
||||||
return true;
|
return true;
|
||||||
// Request migh have been done
|
// Request might have been done
|
||||||
} else {
|
} else {
|
||||||
// Did not request yet, do request
|
// Did not request yet, do request
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user