diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-08-31 22:38:28 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2018-08-31 22:41:14 +0200 |
commit | f92b87e5f8025e8ac7de1eaaf8fafbaf10521e7b (patch) | |
tree | 1f6b5d9492a24ed6b5f497906105c237188210f8 /editor | |
parent | 29f2571662da0ee93ea2a632ec3b60aa26246563 (diff) |
DocData: Fix return type listed as "var" instead of "Variant"
Diffstat (limited to 'editor')
-rw-r--r-- | editor/doc/doc_data.cpp | 4 | ||||
-rw-r--r-- | editor/doc/doc_dump.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/editor/doc/doc_data.cpp b/editor/doc/doc_data.cpp index bbe52bdc76..c90b2b14b3 100644 --- a/editor/doc/doc_data.cpp +++ b/editor/doc/doc_data.cpp @@ -505,7 +505,7 @@ void DocData::generate(bool p_basic_types) { ad.name = arginfo.name; if (arginfo.type == Variant::NIL) - ad.type = "var"; + ad.type = "Variant"; else ad.type = Variant::get_type_name(arginfo.type); @@ -518,7 +518,7 @@ void DocData::generate(bool p_basic_types) { if (mi.return_val.type == Variant::NIL) { if (mi.return_val.name != "") - method.return_type = "var"; + method.return_type = "Variant"; } else { method.return_type = Variant::get_type_name(mi.return_val.type); } diff --git a/editor/doc/doc_dump.cpp b/editor/doc/doc_dump.cpp index adbe23dcd5..06d35c4d3a 100644 --- a/editor/doc/doc_dump.cpp +++ b/editor/doc/doc_dump.cpp @@ -142,7 +142,7 @@ void DocDump::dump(const String &p_file) { if (arginfo.hint == PROPERTY_HINT_RESOURCE_TYPE) type_name = arginfo.hint_string; else if (arginfo.type == Variant::NIL) - type_name = "var"; + type_name = "Variant"; else type_name = Variant::get_type_name(arginfo.type); |