From 93fdca17d0dc862d087348ff4c81136b3d74b80b Mon Sep 17 00:00:00 2001 From: Robert Yevdokimov Date: Fri, 26 Jan 2024 16:37:59 -0500 Subject: [PATCH] Make viewport message dependent on framerate not physics step (cherry picked from commit 17e9fd06ce8f7e98bed087f9e01a17e47a234060) --- editor/plugins/node_3d_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index b879fa4b3df..3a274183608 100644 --- a/editor/plugins/node_3d_editor_plugin.cpp +++ b/editor/plugins/node_3d_editor_plugin.cpp @@ -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(); }