You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
DocData: Skip unexposed classes
Properly expose classes that we actually want accessible.
This commit is contained in:
@@ -243,6 +243,12 @@ void DocData::generate(bool p_basic_types) {
|
||||
Set<StringName> setters_getters;
|
||||
|
||||
String name = classes.front()->get();
|
||||
if (!ClassDB::is_class_exposed(name)) {
|
||||
print_verbose(vformat("Class '%s' is not exposed, skipping.", name));
|
||||
classes.pop_front();
|
||||
continue;
|
||||
}
|
||||
|
||||
String cname = name;
|
||||
if (cname.begins_with("_")) //proxy class
|
||||
cname = cname.substr(1, name.length());
|
||||
|
||||
Reference in New Issue
Block a user