From 524e7acfc3fa58e3d63e6578677d21a52b315aa3 Mon Sep 17 00:00:00 2001 From: the-sink Date: Tue, 19 Sep 2023 01:22:29 -0700 Subject: [PATCH] Set `open_dominant_script_on_scene_change` to off by default --- editor/plugins/script_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index 901ac91a468d..d457906d0c7a 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -4354,7 +4354,7 @@ ScriptEditorPlugin::ScriptEditorPlugin() { EDITOR_GET("text_editor/behavior/files/auto_reload_scripts_on_external_change"); ScriptServer::set_reload_scripts_on_save(EDITOR_DEF("text_editor/behavior/files/auto_reload_and_parse_scripts_on_save", true)); - EDITOR_DEF("text_editor/behavior/files/open_dominant_script_on_scene_change", true); + EDITOR_DEF("text_editor/behavior/files/open_dominant_script_on_scene_change", false); EDITOR_DEF("text_editor/external/use_external_editor", false); EDITOR_DEF("text_editor/external/exec_path", ""); EDITOR_DEF("text_editor/script_list/script_temperature_enabled", true);