Merge pull request #17679 from ivodopiviz/external-editor-switch
Prevented external editor from running multiple times
This commit is contained in:
commit
b5af63fc8c
1 changed files with 2 additions and 1 deletions
|
@ -1599,6 +1599,7 @@ void EditorNode::_edit_current() {
|
|||
|
||||
// special case if use of external editor is true
|
||||
if (main_plugin->get_name() == "Script" && (bool(EditorSettings::get_singleton()->get("text_editor/external/use_external_editor")) || overrides_external_editor(current_obj))) {
|
||||
if (!changing_scene)
|
||||
main_plugin->edit(current_obj);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue