mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Auto-expand current node type when replace node
This commit is contained in:
		
							parent
							
								
									9738ed567c
								
							
						
					
					
						commit
						6b7c8ef327
					
				
					 3 changed files with 35 additions and 10 deletions
				
			
		|  | @ -347,7 +347,7 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) { | |||
| 			if (!profile_allow_editing) { | ||||
| 				break; | ||||
| 			} | ||||
| 			create_dialog->popup_create(false, true); | ||||
| 			create_dialog->popup_create(false, true, scene_tree->get_selected()->get_class()); | ||||
| 		} break; | ||||
| 		case TOOL_ATTACH_SCRIPT: { | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Matthias Schmitt
						Matthias Schmitt