diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-07-26 10:36:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-26 10:36:01 +0200 |
commit | eab105310b6722684d48bc0fe944fccc9392a26d (patch) | |
tree | 51f6acbb52ed245b2e0b7227f4c30ed4e9adbebd /editor/plugins | |
parent | 39168f125e7774129125721a99c0b9a4604ba2ab (diff) | |
parent | 6bdec4ffb6a1e9f48052c257dfb647b1c16c0503 (diff) |
Merge pull request #19257 from volzhs/edit-visual-script
Open internal visual script editor while use external editor is on
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/script_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index 3f28cfd858..3b82e6578b 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -1876,6 +1876,7 @@ bool ScriptEditor::edit(const RES &p_resource, int p_line, int p_col, bool p_gra if ((debugger->get_dump_stack_script() != p_resource || debugger->get_debug_with_external_editor()) && p_resource->get_path().is_resource_file() && + p_resource->get_class_name() != StringName("VisualScript") && bool(EditorSettings::get_singleton()->get("text_editor/external/use_external_editor"))) { String path = EditorSettings::get_singleton()->get("text_editor/external/exec_path"); |