Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Behavior of Input event changed since Godot 3.3.2 #57386

Closed
danilw opened this issue Jan 29, 2022 · 1 comment
Closed

Behavior of Input event changed since Godot 3.3.2 #57386

danilw opened this issue Jan 29, 2022 · 1 comment

Comments

@danilw
Copy link

danilw commented Jan 29, 2022

Godot version

3.4.2-stable 3.5-beta1

System information

Linux x11

Issue description

Godot in options set to Single-thread.

Tested on exported template and editor (same behavior).

var events = 0

func _process(delta):
  print(events)
  events = 0

func _input(event):
  if(event is InputEventMouseMotion):
    events+=1

On Godot 3.3.2-stable this code always print 1

On Godot 3.4.2-stable and 3.5-beta1 this code print "many events".

Maybe Im missing something, I was expecting "whole application work in single thread".

Only related change I remember (in one of stable updates) - is "fix for input" to make it separated from rendering frame... this behavior expected and not_a_bug?

This means I have to move old "input" to _process function, basically.

Steps to reproduce

launch example code

Minimal reproduction project

No response

@danilw danilw changed the title Behavior of Input event shamed since Godot 3.3.2 Behavior of Input event changed since Godot 3.3.2 Jan 29, 2022
@Calinou
Copy link
Member

Calinou commented Jan 29, 2022

Duplicate of #55037.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants