mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Pace debugger draw requests
This commit is contained in:
parent
2fdaf2919c
commit
31a4a0002e
3 changed files with 7 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue