Skip to content

Commit

Permalink
Reset _currentDepth... in onSessionEnd in WebXRManager.
Browse files Browse the repository at this point in the history
  • Loading branch information
chpatrick committed Jan 25, 2021
1 parent cf04fca commit 608216f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/renderers/webxr/WebXRManager.js
Expand Up @@ -116,6 +116,9 @@ function WebXRManager( renderer, gl ) {

inputSourcesMap.clear();

_currentDepthNear = null;
_currentDepthFar = null;

//

renderer.setFramebuffer( null );
Expand Down

0 comments on commit 608216f

Please sign in to comment.