summaryrefslogtreecommitdiffstats
path: root/editor/debugger/editor_performance_profiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/debugger/editor_performance_profiler.cpp')
-rw-r--r--editor/debugger/editor_performance_profiler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/debugger/editor_performance_profiler.cpp b/editor/debugger/editor_performance_profiler.cpp
index 1ea9a66534..31c09c9b37 100644
--- a/editor/debugger/editor_performance_profiler.cpp
+++ b/editor/debugger/editor_performance_profiler.cpp
@@ -81,6 +81,9 @@ void EditorPerformanceProfiler::Monitor::reset() {
String EditorPerformanceProfiler::_create_label(float p_value, Performance::MonitorType p_type) {
switch (p_type) {
+ case Performance::MONITOR_TYPE_QUANTITY: {
+ return TS->format_number(itos(p_value));
+ }
case Performance::MONITOR_TYPE_MEMORY: {
return String::humanize_size(p_value);
}