summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yevdokimov <robert.yevdokimov@autStand.com>2024-01-26 16:37:59 -0500
committerRobert Yevdokimov <robert.yevdokimov@autStand.com>2024-02-02 14:47:30 -0500
commit17e9fd06ce8f7e98bed087f9e01a17e47a234060 (patch)
treeb8950c09d9bf62d61caf79387fc7e2800c70fe37
parent17e7f85c06366b427e5068c5b3e2940e27ff5f1d (diff)
downloadredot-engine-17e9fd06ce8f7e98bed087f9e01a17e47a234060.tar.gz
Make viewport message dependent on framerate not physics step
-rw-r--r--editor/plugins/node_3d_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp
index e4d24832bf..e9ff2d318d 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();
}