mirror of
https://github.com/godotengine/godot.git
synced 2025-04-25 01:48:08 +08:00
Fixed error spam in create node dialog with custom types.
This should fix #20789
This commit is contained in:
parent
ef5095720b
commit
8591a1bd80
@ -330,7 +330,7 @@ void CreateDialog::_update_search() {
|
||||
break;
|
||||
}
|
||||
|
||||
type = ClassDB::get_parent_class(type);
|
||||
type = cpp_type ? ClassDB::get_parent_class(type) : ed.script_class_get_base(type);
|
||||
}
|
||||
|
||||
if (found)
|
||||
|
Loading…
x
Reference in New Issue
Block a user