Remove duplicate editor settings definitions
This commit is contained in:
parent
92615be68c
commit
2057ea2883
20 changed files with 48 additions and 51 deletions
|
|
@ -789,7 +789,7 @@ EditorVisualProfiler::EditorVisualProfiler() {
|
|||
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);
|
||||
last_metric = -1;
|
||||
//cursor_metric=-1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue