summaryrefslogtreecommitdiff
path: root/tools/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-12-14 08:28:01 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-12-14 08:28:01 -0300
commitf2183a5e09cc55a91b550f0d8f45b45a93d82b29 (patch)
tree49e072558a9df4c7f66e12eabdf328779716f861 /tools/editor/plugins/script_editor_plugin.cpp
parent534c8e74b9e4990ac1f63ef701330552cecfc28f (diff)
replaced :var by :Variant in documentation, fixes #2897
Diffstat (limited to 'tools/editor/plugins/script_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/script_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp
index b95c837003..178871ea75 100644
--- a/tools/editor/plugins/script_editor_plugin.cpp
+++ b/tools/editor/plugins/script_editor_plugin.cpp
@@ -2256,6 +2256,7 @@ void ScriptEditor::_history_back(){
void ScriptEditor::set_scene_root_script( Ref<Script> p_script ) {
bool open_dominant = EditorSettings::get_singleton()->get("text_editor/open_dominant_script_on_scene_change");
+
if (bool(EditorSettings::get_singleton()->get("external_editor/use_external_editor")))
return;