mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Add some limits on the Editor Settings
This commit is contained in:
parent
8068d0217a
commit
e5041ad0f5
24 changed files with 43 additions and 13 deletions
|
|
@ -1089,7 +1089,7 @@ ScriptDebuggerRemote::ScriptDebuggerRemote() :
|
|||
eh.userdata = this;
|
||||
add_error_handler(&eh);
|
||||
|
||||
profile_info.resize(CLAMP(int(ProjectSettings::get_singleton()->get("debug/settings/profiler/max_functions")), 128, 65535));
|
||||
profile_info.resize(GLOBAL_GET("debug/settings/profiler/max_functions"));
|
||||
profile_info_ptrs.resize(profile_info.size());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue