summaryrefslogtreecommitdiff
path: root/editor/doc
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-11-24 13:59:43 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-11-24 14:00:01 -0300
commit31f62f53c516360dcf8688141a5f8a0aebada431 (patch)
tree06fea64b26139eba1caa9b3756873750389cb7fc /editor/doc
parent60de40726209657b5581c9a6765df21fb0e954ab (diff)
Fix block where setter/getters are cached to be skipped
Diffstat (limited to 'editor/doc')
-rw-r--r--editor/doc/doc_data.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/doc/doc_data.cpp b/editor/doc/doc_data.cpp
index 3c89e5d321..bfee66569a 100644
--- a/editor/doc/doc_data.cpp
+++ b/editor/doc/doc_data.cpp
@@ -214,11 +214,12 @@ void DocData::generate(bool p_basic_types) {
ClassDB::get_class_list(&classes);
classes.sort_custom<StringName::AlphCompare>();
- Set<StringName> setters_getters;
bool skip_setter_getter_methods = true;
while (classes.size()) {
+ Set<StringName> setters_getters;
+
String name = classes.front()->get();
String cname = name;
if (cname.begins_with("_")) //proxy class