mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +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
|
|
@ -607,8 +607,8 @@ static void _add_allowed_type(const StringName &p_type, List<StringName> *p_vect
|
|||
p_vector->push_back(p_type);
|
||||
}
|
||||
|
||||
List<StringName> inheriters;
|
||||
ClassDB::get_inheriters_from_class(p_type, &inheriters);
|
||||
LocalVector<StringName> inheriters;
|
||||
ClassDB::get_inheriters_from_class(p_type, inheriters);
|
||||
for (const StringName &S : inheriters) {
|
||||
_add_allowed_type(S, p_vector);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue