Merge pull request #47831 from Calinou/editor-remote-scene-tree-tooltip

This commit is contained in:
Rémi Verschelde 2021-04-12 18:01:13 +02:00 committed by GitHub
commit 5c8505c25a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3095,6 +3095,7 @@ SceneTreeDock::SceneTreeDock(EditorNode *p_editor, Node *p_scene_root, EditorSel
edit_remote->set_h_size_flags(SIZE_EXPAND_FILL);
edit_remote->set_text(TTR("Remote"));
edit_remote->set_toggle_mode(true);
edit_remote->set_tooltip(TTR("If selected, the Remote scene tree dock will cause the project to stutter every time it updates.\nSwitch back to the Local scene tree dock to improve performance."));
edit_remote->connect("pressed", callable_mp(this, &SceneTreeDock::_remote_tree_selected));
edit_local = memnew(Button);