mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-04 15:41:25 +00:00 
			
		
		
		
	Add a tooltip to document performance issues of the Remote scene tree
This commit is contained in:
		
							parent
							
								
									cee5414698
								
							
						
					
					
						commit
						6d2f5ee244
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -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_h_size_flags(SIZE_EXPAND_FILL);
 | 
				
			||||||
	edit_remote->set_text(TTR("Remote"));
 | 
						edit_remote->set_text(TTR("Remote"));
 | 
				
			||||||
	edit_remote->set_toggle_mode(true);
 | 
						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_remote->connect("pressed", callable_mp(this, &SceneTreeDock::_remote_tree_selected));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	edit_local = memnew(Button);
 | 
						edit_local = memnew(Button);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue