Remove duplicate editor settings definitions

This commit is contained in:
kobewi
2022-03-06 21:39:19 +01:00
parent 92615be68c
commit 2057ea2883
20 changed files with 48 additions and 51 deletions

View File

@@ -659,7 +659,7 @@ EditorProfiler::EditorProfiler() {
h_split->add_child(graph);
graph->set_h_size_flags(SIZE_EXPAND_FILL);
int metric_size = CLAMP(int(EDITOR_DEF("debugger/profiler_frame_history_size", 600)), 60, 1024);
int metric_size = CLAMP(int(EDITOR_GET("debugger/profiler_frame_history_size")), 60, 1024);
frame_metrics.resize(metric_size);
total_metrics = 0;
last_metric = -1;