summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAriel Manzur <punto@godotengine.org>2016-01-08 17:54:35 -0300
committerAriel Manzur <punto@godotengine.org>2016-01-08 17:55:52 -0300
commite291294c7981f108dbb8658976b109df1850d303 (patch)
treeb8aa0ddbd2f9480bd2818b40bf570e4ed2428a97
parent6a29edf0487052ca6808cad72c09a6d4c5777b80 (diff)
fixes debug_release build
-rw-r--r--tools/doc/doc_data.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/doc/doc_data.cpp b/tools/doc/doc_data.cpp
index a039c58ff4..11e4797747 100644
--- a/tools/doc/doc_data.cpp
+++ b/tools/doc/doc_data.cpp
@@ -190,10 +190,10 @@ void DocData::generate(bool p_basic_types) {
#ifdef DEBUG_METHODS_ENABLED
if (m && m->get_return_type()!=StringName())
method.return_type=m->get_return_type();
- else if (arginfo.type!=Variant::NIL) {
+ 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 {