From 29a6e7d30614dbded680a024698088e2c8ed6d3a Mon Sep 17 00:00:00 2001 From: qarmin Date: Wed, 6 Mar 2019 12:10:09 +0100 Subject: [PATCH] Do not lose focus when moving through scene tree (cherry picked from commit 138698e51fdb29b95eaf1f0a563758d46f57037b) --- editor/plugins/canvas_item_editor_plugin.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index ac05b03ed28..37ae2d146c0 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -4922,7 +4922,6 @@ void CanvasItemEditorPlugin::make_visible(bool p_visible) { canvas_item_editor->show(); canvas_item_editor->set_physics_process(true); VisualServer::get_singleton()->viewport_set_hide_canvas(editor->get_scene_root()->get_viewport_rid(), false); - canvas_item_editor->viewport->grab_focus(); } else {