summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2023-02-07 12:10:28 +0100
committerPedro J. Estébanez <pedrojrulez@gmail.com>2023-02-07 12:10:28 +0100
commit31a4a0002e566cbb28a2160fde1567eb75496cd0 (patch)
treefb15e60563452c6313e0698b6572dc72c17dacfa /servers
parent2fdaf2919c03ab50f971f2d51616d4ee329d29af (diff)
Pace debugger draw requests
Diffstat (limited to 'servers')
-rw-r--r--servers/debugger/servers_debugger.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/debugger/servers_debugger.cpp b/servers/debugger/servers_debugger.cpp
index c44f9a3a1b..75452be49b 100644
--- a/servers/debugger/servers_debugger.cpp
+++ b/servers/debugger/servers_debugger.cpp
@@ -409,6 +409,7 @@ Error ServersDebugger::_capture(void *p_user, const String &p_cmd, const Array &
if (RenderingServer::get_singleton()->has_changed()) {
RenderingServer::get_singleton()->draw(true, delta);
}
+ EngineDebugger::get_singleton()->send_message("servers:drawn", Array());
} else if (p_cmd == "foreground") {
singleton->last_draw_time = 0.0;
DisplayServer::get_singleton()->window_move_to_foreground();