diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-06-13 14:42:55 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2018-06-13 14:42:55 +0200 |
commit | 9165e550f85c820a65dc97111c521ac74275ecb4 (patch) | |
tree | ac36e6f9a90bae2124800395276114709d1453f8 /editor | |
parent | f0fa5902100b5b2a6207b1656cf90af3c36bd213 (diff) |
Style fixes for commit d5bb6faa
Diffstat (limited to 'editor')
-rw-r--r-- | editor/doc/doc_data.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/editor/doc/doc_data.cpp b/editor/doc/doc_data.cpp index 3a32c3f40f..542dca74e0 100644 --- a/editor/doc/doc_data.cpp +++ b/editor/doc/doc_data.cpp @@ -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; |