mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Change ClassDB::get_inheriters_from_class.
This commit is contained in:
		
							parent
							
								
									27b2ba667c
								
							
						
					
					
						commit
						4029051bb1
					
				
					 12 changed files with 23 additions and 23 deletions
				
			
		|  | @ -631,8 +631,8 @@ void AnimationNodeStateMachineEditor::_open_menu(const Vector2 &p_position) { | |||
| 		} | ||||
| 	} | ||||
| 
 | ||||
| 	List<StringName> classes; | ||||
| 	ClassDB::get_inheriters_from_class("AnimationRootNode", &classes); | ||||
| 	LocalVector<StringName> classes; | ||||
| 	ClassDB::get_inheriters_from_class("AnimationRootNode", classes); | ||||
| 	classes.sort_custom<StringName::AlphCompare>(); | ||||
| 
 | ||||
| 	for (const StringName &class_name : classes) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yufeng Ying
						Yufeng Ying