You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
gdscript: Only include profiling variables when DEBUG is enabled
This commit is contained in:
@@ -459,9 +459,11 @@ class GDScriptLanguage : public ScriptLanguage {
|
||||
friend class GDScriptFunction;
|
||||
|
||||
SelfList<GDScriptFunction>::List function_list;
|
||||
#ifdef DEBUG_ENABLED
|
||||
bool profiling;
|
||||
bool profile_native_calls;
|
||||
uint64_t script_frame_time;
|
||||
#endif
|
||||
|
||||
HashMap<String, ObjectID> orphan_subclasses;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user