summaryrefslogtreecommitdiffstats
path: root/modules/mono/editor
diff options
context:
space:
mode:
authorkit <kitbdev@gmail.com>2024-08-19 18:08:31 -0400
committerkit <kitbdev@gmail.com>2024-09-09 11:06:18 -0400
commit5e1c9d68aad00ad025a14f4a1907b92a6f7f6310 (patch)
tree2772c83f7f4b89b5a422113726b3c0611d4f0b30 /modules/mono/editor
parentd0dc3896ad6fe039e4ad0607d901c81197cb3a3b (diff)
downloadredot-engine-5e1c9d68aad00ad025a14f4a1907b92a6f7f6310.tar.gz
Extract editor main screen
Diffstat (limited to 'modules/mono/editor')
-rw-r--r--modules/mono/editor/editor_internal_calls.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/mono/editor/editor_internal_calls.cpp b/modules/mono/editor/editor_internal_calls.cpp
index 7322a47630..df240a5965 100644
--- a/modules/mono/editor/editor_internal_calls.cpp
+++ b/modules/mono/editor/editor_internal_calls.cpp
@@ -41,6 +41,7 @@
#include "core/os/os.h"
#include "core/version.h"
#include "editor/debugger/editor_debugger_node.h"
+#include "editor/editor_main_screen.h"
#include "editor/editor_node.h"
#include "editor/editor_paths.h"
#include "editor/editor_settings.h"
@@ -165,7 +166,7 @@ bool godot_icall_Internal_ScriptEditorEdit(Resource *p_resource, int32_t p_line,
}
void godot_icall_Internal_EditorNodeShowScriptScreen() {
- EditorNode::get_singleton()->editor_select(EditorNode::EDITOR_SCRIPT);
+ EditorNode::get_editor_main_screen()->select(EditorMainScreen::EDITOR_SCRIPT);
}
void godot_icall_Internal_EditorRunPlay() {