You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
fixes debug_release build
This commit is contained in:
@@ -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 {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user