From c5c440469e3c603de016740d1ce0417439eb47c9 Mon Sep 17 00:00:00 2001 From: Ari Vuollet Date: Sun, 21 May 2023 00:51:26 +0300 Subject: [PATCH] Increase Editor profiler depth --- Source/Editor/Windows/Profiler/CPU.cs | 2 +- Source/Editor/Windows/Profiler/GPU.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Editor/Windows/Profiler/CPU.cs b/Source/Editor/Windows/Profiler/CPU.cs index ce62926d9..e72183639 100644 --- a/Source/Editor/Windows/Profiler/CPU.cs +++ b/Source/Editor/Windows/Profiler/CPU.cs @@ -526,7 +526,7 @@ namespace FlaxEditor.Windows.Profiler } row.Depth = e.Depth; row.Width = _table.Width; - row.Visible = e.Depth < 2; + row.Visible = e.Depth < 10; row.BackgroundColor = i % 2 == 0 ? rowColor2 : Color.Transparent; row.Parent = _table; } diff --git a/Source/Editor/Windows/Profiler/GPU.cs b/Source/Editor/Windows/Profiler/GPU.cs index fcc98c681..a18d3d505 100644 --- a/Source/Editor/Windows/Profiler/GPU.cs +++ b/Source/Editor/Windows/Profiler/GPU.cs @@ -370,7 +370,7 @@ namespace FlaxEditor.Windows.Profiler } row.Depth = e.Depth; row.Width = _table.Width; - row.Visible = e.Depth < 3; + row.Visible = e.Depth < 13; row.BackgroundColor = i % 2 == 0 ? rowColor2 : Color.Transparent; row.Parent = _table; }