From 17e9fd06ce8f7e98bed087f9e01a17e47a234060 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 --- 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 e4d24832bff2..e9ff2d318ddb 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(); }