mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 14:12:51 +00:00
Make viewport message dependent on framerate not physics step
(cherry picked from commit 17e9fd06ce
)
This commit is contained in:
parent
7c162351c9
commit
93fdca17d0
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user