diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-12-06 17:16:25 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-12-06 17:16:25 -0300 |
commit | a496dd4d389e2752a58f5beb98dcfad2eeccaf14 (patch) | |
tree | 2e7a80b976398d944f3c9179d60577c9623e86e0 /editor | |
parent | 8b41ebf7840a3091c2a4ed294bf9159d45fd94cf (diff) |
Created internal usage flag to remove non editor properties from doc, closes #13334
Diffstat (limited to 'editor')
-rw-r--r-- | editor/doc/doc_data.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/doc/doc_data.cpp b/editor/doc/doc_data.cpp index 3a72f8e569..0bb059f425 100644 --- a/editor/doc/doc_data.cpp +++ b/editor/doc/doc_data.cpp @@ -235,7 +235,7 @@ void DocData::generate(bool p_basic_types) { 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) + if (E->get().usage & PROPERTY_USAGE_GROUP || E->get().usage & PROPERTY_USAGE_CATEGORY || E->get().usage & PROPERTY_USAGE_INTERNAL) continue; PropertyDoc prop; |