godot/main
Manuel Moos f8e62424c5 Fix negative delta arguments
Three attack points, all after the regular calculations:
1. Prevent negative physics timestep counts. They could occur if
   physics_jtter_fix is changed at runtime.
2. idle_step is not allowed to go below 1/8th of the input step.
   That could happen on physics_jitter_fix changes or heavily
   fluctuating performance.
3. Prevent that the idle_step modification breaks the promise
   that Engine.get_physics_interpolation_fraction() is between
   0 and 1 by doing more physics steps than the base system wants.

Fixes #26887

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Cherry-Pick from 6be702bace.
2021-09-22 21:09:38 +02:00
..
tests Fix Transform::xform(Plane) functions, add Transform unit tests 2021-08-07 08:05:39 +01:00
app_icon.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
default_controller_mappings.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
gamecontrollerdb.txt Sync controller mappings DB with SDL2 community repo 2021-07-20 13:20:40 +02:00
godotcontrollerdb.txt [HTML5] Add 2 controllers to the godot database. 2021-07-20 13:05:10 +02:00
input_default.cpp Adding InputMap action error suggestion for Input singleton 2021-09-21 17:14:58 +02:00
input_default.h Add input buffering framework 2021-08-08 12:37:55 +02:00
main.cpp Display an alert when attempting to run a project with no main scene 2021-09-21 17:14:58 +02:00
main.h Add project setting for agile input event flushing 2021-08-08 12:37:55 +02:00
main_builders.py Tweak the editor splash screen color to better match the default theme 2021-03-19 10:51:39 +01:00
main_timer_sync.cpp Fix negative delta arguments 2021-09-22 21:09:38 +02:00
main_timer_sync.h Delta smoothing - fix overflow for long frames 2021-08-11 09:47:23 +01:00
performance.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
performance.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
splash.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2019-10-12 23:23:33 +02:00
splash_editor.png Update AUTHORS and DONORS list 2020-10-28 15:09:17 +01:00