Merge pull request #21021 from DualMatrix/new_node_warning

Fixed error spam in create node dialog with custom types.
This commit is contained in:
Rémi Verschelde 2018-08-15 16:10:12 +02:00 committed by GitHub
commit d006aa0abb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -333,7 +333,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)