You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
GDScript: Enable built-in function introspection in non-tools
Only for debug builds. Fix problems in non-tools targets.
This commit is contained in:
@@ -1412,7 +1412,7 @@ bool GDScriptFunctions::is_deterministic(Function p_func) {
|
|||||||
|
|
||||||
MethodInfo GDScriptFunctions::get_info(Function p_func) {
|
MethodInfo GDScriptFunctions::get_info(Function p_func) {
|
||||||
|
|
||||||
#ifdef TOOLS_ENABLED
|
#ifdef DEBUG_ENABLED
|
||||||
//using a switch, so the compiler generates a jumptable
|
//using a switch, so the compiler generates a jumptable
|
||||||
|
|
||||||
switch (p_func) {
|
switch (p_func) {
|
||||||
|
|||||||
Reference in New Issue
Block a user