Won't change editor tabs when using External Editor.

This commit is contained in:
Shin-NiL 2017-10-11 09:03:44 -03:00
parent 552f71cad8
commit d1c5272308

View file

@ -1603,7 +1603,12 @@ void EditorNode::_edit_current() {
if (main_plugin) {
if (main_plugin != editor_plugin_screen) {
// special case if use of external editor is true
if (main_plugin->get_name() == "Script" && bool(EditorSettings::get_singleton()->get("external_editor/use_external_editor"))){
main_plugin->edit(current_obj);
}
else if (main_plugin != editor_plugin_screen) {
// update screen main_plugin