mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Unify usage of GLOBAL/EDITOR_GET
This commit is contained in:
parent
28a4eec9a7
commit
e48c5daddf
113 changed files with 528 additions and 528 deletions
|
@ -995,7 +995,7 @@ void ScriptEditorDebugger::_profiler_activate(bool p_enable, int p_type) {
|
|||
profiler_signature.clear();
|
||||
// Add max funcs options to request.
|
||||
Array opts;
|
||||
int max_funcs = EditorSettings::get_singleton()->get("debugger/profiler_frame_max_functions");
|
||||
int max_funcs = EDITOR_GET("debugger/profiler_frame_max_functions");
|
||||
opts.push_back(CLAMP(max_funcs, 16, 512));
|
||||
msg_data.push_back(opts);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue