Style fixes for commit d5bb6faa

This commit is contained in:
Rémi Verschelde
2018-06-13 14:42:55 +02:00
parent f0fa590210
commit 9165e550f8
5 changed files with 117 additions and 102 deletions

View File

@ -233,15 +233,13 @@ void DocData::generate(bool p_basic_types) {
c.category = ClassDB::get_category(name);
List<PropertyInfo> properties;
if (name=="ProjectSettings") {
if (name == "ProjectSettings") {
//special case for project settings, so settings can be documented
ProjectSettings::get_singleton()->get_property_list(&properties);
} else {
ClassDB::get_property_list(name, &properties, true);
}
for (List<PropertyInfo>::Element *E = properties.front(); E; E = E->next()) {
if (E->get().usage & PROPERTY_USAGE_GROUP || E->get().usage & PROPERTY_USAGE_CATEGORY || E->get().usage & PROPERTY_USAGE_INTERNAL)
continue;