mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-03 23:21:15 +00:00 
			
		
		
		
	Make instance's editable children use warning color instead of disabled color
This commit is contained in:
		
							parent
							
								
									83d2673772
								
							
						
					
					
						commit
						e7e4f41004
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -229,7 +229,7 @@ bool SceneTreeEditor::_add_nodes(Node *p_node, TreeItem *p_parent, bool p_scroll
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	} else if (part_of_subscene) {
 | 
						} else if (part_of_subscene) {
 | 
				
			||||||
		if (valid_types.size() == 0) {
 | 
							if (valid_types.size() == 0) {
 | 
				
			||||||
			item->set_custom_color(0, get_theme_color(SNAME("disabled_font_color"), SNAME("Editor")));
 | 
								item->set_custom_color(0, get_theme_color(SNAME("warning_color"), SNAME("Editor")));
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	} else if (marked.has(p_node)) {
 | 
						} else if (marked.has(p_node)) {
 | 
				
			||||||
		String node_name = p_node->get_name();
 | 
							String node_name = p_node->get_name();
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue