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

This commit is contained in:
Hugo Locurcio 2021-04-12 17:47:47 +02:00
parent cee5414698
commit 6d2f5ee244
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C

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);