Explorar o código

Make viewport message dependent on framerate not physics step

Robert Yevdokimov hai 1 ano
pai
achega
17e9fd06ce
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
 				}