From f1244ce944c2ccffac7a30533a914ffa25bbb7d0 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Tue, 21 Apr 2020 15:03:42 -0300 Subject: [PATCH] Fix "Local" button not being pressed in the Scene dock on first run --- editor/scene_tree_dock.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index a729f621230..4041256dd58 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -2867,6 +2867,7 @@ SceneTreeDock::SceneTreeDock(EditorNode *p_editor, Node *p_scene_root, EditorSel edit_local->set_h_size_flags(SIZE_EXPAND_FILL); edit_local->set_text(TTR("Local")); edit_local->set_toggle_mode(true); + edit_local->set_pressed(true); edit_local->connect("pressed", callable_mp(this, &SceneTreeDock::_local_tree_selected)); remote_tree = nullptr;