diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-12-13 12:53:29 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-12-13 12:53:29 -0300 |
commit | 95a469ad28e54fe05c3ae548725e557f91021d79 (patch) | |
tree | 52b9ee5ebd82671f69e4bab9417ebaf751914048 /tools/doc/doc_data.cpp | |
parent | 451b1d91446f6e15763b4d6ec3bd6d74c2be8080 (diff) | |
download | redot-engine-95a469ad28e54fe05c3ae548725e557f91021d79.tar.gz |
added binary API to StreamPeer, fixes #2863
Diffstat (limited to 'tools/doc/doc_data.cpp')
-rw-r--r-- | tools/doc/doc_data.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/doc/doc_data.cpp b/tools/doc/doc_data.cpp index c1d3e5e314..3161e380b9 100644 --- a/tools/doc/doc_data.cpp +++ b/tools/doc/doc_data.cpp @@ -187,14 +187,13 @@ void DocData::generate(bool p_basic_types) { arginfo=E->get().return_val; - if (arginfo.type==Variant::NIL) - continue; #ifdef DEBUG_METHODS_ENABLED if (m && m->get_return_type()!=StringName()) method.return_type=m->get_return_type(); - else + else if (arginfo.type!=Variant::NIL) { #endif method.return_type=(arginfo.hint==PROPERTY_HINT_RESOURCE_TYPE)?arginfo.hint_string:Variant::get_type_name(arginfo.type); + } } else { |