diff options
author | kobewi <kobewi4e@gmail.com> | 2022-10-18 16:43:37 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-10-18 19:01:48 +0200 |
commit | e48c5daddfa70172c0eab57b8045a7087eec6e2c (patch) | |
tree | 249fa2203570136d3a2040ad612e6e86a516cd5f /editor/debugger/editor_profiler.cpp | |
parent | 28a4eec9a77bc797b7147be2453cdbe85cf47d7f (diff) |
Unify usage of GLOBAL/EDITOR_GET
Diffstat (limited to 'editor/debugger/editor_profiler.cpp')
-rw-r--r-- | editor/debugger/editor_profiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/debugger/editor_profiler.cpp b/editor/debugger/editor_profiler.cpp index dfa2b8e70f..35666a5566 100644 --- a/editor/debugger/editor_profiler.cpp +++ b/editor/debugger/editor_profiler.cpp @@ -85,7 +85,7 @@ void EditorProfiler::add_frame_metric(const Metric &p_metric, bool p_final) { } void EditorProfiler::clear() { - int metric_size = EditorSettings::get_singleton()->get("debugger/profiler_frame_history_size"); + int metric_size = EDITOR_GET("debugger/profiler_frame_history_size"); metric_size = CLAMP(metric_size, 60, 10000); frame_metrics.clear(); frame_metrics.resize(metric_size); |