Fix missing GDExtension in-editor API reference

This commit partially reverts a change in e1ce0340b7
which would prevent from generating API reference for GDExtension APIs.

Fixes #78829.
This commit is contained in:
Rémi Verschelde 2023-06-29 12:48:10 +02:00
parent c83f912bcb
commit b3d1aeea07
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -374,11 +374,6 @@ void DocTools::generate(bool p_basic_types) {
classes.pop_front();
continue;
}
if (ClassDB::get_api_type(name) != ClassDB::API_CORE && ClassDB::get_api_type(name) != ClassDB::API_EDITOR) {
print_verbose(vformat("Class '%s' belongs neither to core nor editor, skipping.", name));
classes.pop_front();
continue;
}
String cname = name;
// Property setters and getters do not get exposed as individual methods.