Unify usage of GLOBAL/EDITOR_GET

This commit is contained in:
kobewi committed 2022-10-18 19:01:48 +02:00
1 parent 28a4eec9a7
commit e48c5daddf
113 files changed
+528 -528

No files matched your search

+1 -1
View File
@@ -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);
}