You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Remove underscore hacks
Way less cruft. :) Co-authored-by: Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com>
This commit is contained in:
@@ -245,9 +245,6 @@ void DocTools::generate(bool p_basic_types) {
|
||||
}
|
||||
|
||||
String cname = name;
|
||||
if (cname.begins_with("_")) { //proxy class
|
||||
cname = cname.substr(1, name.length());
|
||||
}
|
||||
|
||||
class_list[cname] = DocData::ClassDoc();
|
||||
DocData::ClassDoc &c = class_list[cname];
|
||||
@@ -740,9 +737,6 @@ void DocTools::generate(bool p_basic_types) {
|
||||
while (String(ClassDB::get_parent_class(pd.type)) != "Object") {
|
||||
pd.type = ClassDB::get_parent_class(pd.type);
|
||||
}
|
||||
if (pd.type.begins_with("_")) {
|
||||
pd.type = pd.type.substr(1, pd.type.length());
|
||||
}
|
||||
c.properties.push_back(pd);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user