1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Input: Re-enable input accumulation disabled by error in 3.4

Input accumulation was implemented and enabled by default in 3.1, and
I don't recall major complaints around it (or bugs were fixed).

In 3.4, #42220 added input buffering and apparently toggled input
accumulation off by mistake.

This led to multiple bug reports about degraded performance on Windows,
or simply unexpected behavior change (see linked issues in #55037).

Fixes #55037.
This commit is contained in:
Rémi Verschelde
2022-07-07 22:45:32 +02:00
parent c18e18563f
commit d6bcdd18c3
3 changed files with 3 additions and 3 deletions

View File

@@ -748,7 +748,7 @@ void InputDefault::release_pressed_events() {
InputDefault::InputDefault() {
use_input_buffering = false;
use_accumulated_input = false;
use_accumulated_input = true;
mouse_button_mask = 0;
emulate_touch_from_mouse = false;
emulate_mouse_from_touch = false;