Merge pull request #87631 from ryevdokimov/decouple-message-from-framerate

Make viewport message dependent on framerate not physics step
This commit is contained in:
Rémi Verschelde 2024-02-03 23:19:50 +01:00
commit 607a3b2409
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();
}