diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-04-10 17:56:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-10 17:56:28 +0200 |
commit | 0826b63c7ead1e5bb2c92a4966e23ea7af82c44f (patch) | |
tree | e98c6fc7e9e8850182076afafa2b14ac7c5c7f8a /core/debugger | |
parent | cc27b4560fd6b361934eb863777ba9bada2e5bb8 (diff) | |
parent | c1ee20a05d20b06ade0ebfe7f64c923549005499 (diff) |
Merge pull request #37450 from SkyLucilfer/profilerBug
Fix profiler frame number stops updating when window is minimized
Diffstat (limited to 'core/debugger')
-rw-r--r-- | core/debugger/remote_debugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/debugger/remote_debugger.cpp b/core/debugger/remote_debugger.cpp index c2996e552f..e6bcc5f77e 100644 --- a/core/debugger/remote_debugger.cpp +++ b/core/debugger/remote_debugger.cpp @@ -318,7 +318,7 @@ struct RemoteDebugger::ServersProfiler { void _send_frame_data(bool p_final) { DebuggerMarshalls::ServersProfilerFrame frame; - frame.frame_number = Engine::get_singleton()->get_frames_drawn(); + frame.frame_number = Engine::get_singleton()->get_idle_frames(); frame.frame_time = frame_time; frame.idle_time = idle_time; frame.physics_time = physics_time; |