浏览代码

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

Make viewport message dependent on framerate not physics step
Rémi Verschelde 1 年之前
父节点
当前提交
607a3b2409
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/plugins/node_3d_editor_plugin.cpp

+ 1 - 1
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();
 				}