Browse Source

fixes debug_release build

Ariel Manzur 9 years ago
parent
commit
e291294c79
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tools/doc/doc_data.cpp

+ 2 - 2
tools/doc/doc_data.cpp

@@ -190,10 +190,10 @@ void DocData::generate(bool p_basic_types) {
 #ifdef DEBUG_METHODS_ENABLED
 #ifdef DEBUG_METHODS_ENABLED
 					if (m && m->get_return_type()!=StringName())
 					if (m && m->get_return_type()!=StringName())
 						method.return_type=m->get_return_type();
 						method.return_type=m->get_return_type();
-					else if (arginfo.type!=Variant::NIL) {
+					else if (arginfo.type!=Variant::NIL) // {
 #endif
 #endif
 						method.return_type=(arginfo.hint==PROPERTY_HINT_RESOURCE_TYPE)?arginfo.hint_string:Variant::get_type_name(arginfo.type);
 						method.return_type=(arginfo.hint==PROPERTY_HINT_RESOURCE_TYPE)?arginfo.hint_string:Variant::get_type_name(arginfo.type);
-					}
+//					}
 
 
 				} else {
 				} else {