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

Event binding loop detection behavior should be adjusted #540

Open
xthexder opened this issue Jun 27, 2023 · 0 comments
Open

Event binding loop detection behavior should be adjusted #540

xthexder opened this issue Jun 27, 2023 · 0 comments
Labels
bug Something isn't working performance Improvements to engine performance

Comments

@xthexder
Copy link
Member

Currently events are delivered to the local event_input component before being forwarded to any event_bindings.
If the event bindings contain a loop, the event_input components will receive duplicate events before the maximum binding depth is reached.

Instead, the event bindings should be evaluated first, so that an error condition can be reached before any events are actually delivered.

@xthexder xthexder added bug Something isn't working performance Improvements to engine performance labels Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working performance Improvements to engine performance
Projects
None yet
Development

No branches or pull requests

1 participant