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: Reset _currentDepthNear/_currentDepthFar in onSessionEnd #21146

Merged
merged 1 commit into from
Jan 25, 2021

Conversation

chpatrick
Copy link
Contributor

WebXRManager stores _currentDepthNear and _currentDepthFar and only calls updateRenderState if they're different. However these fields were not reset if the session was ended so if a new session was started the clipping planes were not set.

@mrdoob mrdoob added this to the r125 milestone Jan 25, 2021
@mrdoob mrdoob changed the title Reset _currentDepth... in onSessionEnd in WebXRManager. WebXRManager: Reset _currentDepthNear/_currentDepthFar in onSessionEnd Jan 25, 2021
@mrdoob mrdoob merged commit a295496 into mrdoob:dev Jan 25, 2021
@mrdoob
Copy link
Owner

mrdoob commented Jan 25, 2021

Thanks!

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.

None yet

2 participants