Add a tooltip to document performance issues of the Remote scene tree

(cherry picked from commit 6d2f5ee244)
This commit is contained in:
Hugo Locurcio 2021-04-12 17:47:47 +02:00 committed by Rémi Verschelde
parent d9b3e5ce84
commit 8e54573dfc
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -3149,6 +3149,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", this, "_remote_tree_selected");
edit_local = memnew(ToolButton);