You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-01 16:38:31 +00:00
Fix typos with codespell
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```
(cherry picked from commit 612ab4bbc6)
This commit is contained in:
committed by
Hein-Pieter van Braam
parent
40018e995c
commit
751806b5c7
@@ -2912,7 +2912,7 @@ void EditorNode::_set_main_scene_state(Dictionary p_state, Node *p_for_scene) {
|
||||
|
||||
if (p_state.has("editor_index")) {
|
||||
int index = p_state["editor_index"];
|
||||
if (current < 2) { //if currently in spatial/2d, only switch to spatial/2d. if curently in script, stay there
|
||||
if (current < 2) { //if currently in spatial/2d, only switch to spatial/2d. if currently in script, stay there
|
||||
if (index < 2 || !get_edited_scene()) {
|
||||
_editor_select(index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user