1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

Make viewport message dependent on framerate not physics step

(cherry picked from commit 17e9fd06ce)
This commit is contained in:
Robert Yevdokimov
2024-01-26 16:37:59 -05:00
committed by Rémi Verschelde
parent 7c162351c9
commit 93fdca17d0

View File

@@ -2836,7 +2836,7 @@ void Node3DEditorViewport::_notification(int p_what) {
last_message = message;
}
message_time -= get_physics_process_delta_time();
message_time -= get_process_delta_time();
if (message_time < 0) {
surface->queue_redraw();
}