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

WebXRManager: Update controller matrices before dispatching event #25951

Merged
merged 1 commit into from
Apr 28, 2023
Merged

Conversation

mrdoob
Copy link
Owner

@mrdoob mrdoob commented Apr 28, 2023

Description

The controller didn't have the latest position data when dispatching events such as selectstart.
This meant that on mobile-ar the controller matrices were from the previous event.

@mrdoob mrdoob added this to the r152 milestone Apr 28, 2023
@mrdoob mrdoob merged commit deabd3b into dev Apr 28, 2023
@mrdoob mrdoob deleted the webxr branch April 28, 2023 09:50
@github-actions
Copy link

github-actions bot commented Apr 28, 2023

📦 Bundle size

Full ESM build, minified and gzipped.

Filesize dev Filesize PR Diff
634.6 kB (157.3 kB) 634.6 kB (157.3 kB) +0 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Filesize dev Filesize PR Diff
425.8 kB (103.2 kB) 425.8 kB (103.2 kB) +0 B

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

Successfully merging this pull request may close these issues.

1 participant