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
No known key found for this signature in database
GPG Key ID: C3336907360768E1

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();
}