From 3168c98814d721122e320cd2d91d9964c4117b4e Mon Sep 17 00:00:00 2001 From: Rik Cabanier Date: Thu, 22 Jun 2023 09:38:54 +0000 Subject: [PATCH] clear room capture state --- proposals/plane-detection.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proposals/plane-detection.html b/proposals/plane-detection.html index e1a941a..a8ad8b3 100644 --- a/proposals/plane-detection.html +++ b/proposals/plane-detection.html @@ -251,7 +251,8 @@ xrButton.setSession(null); renderer.setAnimationLoop(null); - renderer.xr.setSession(null) + renderer.xr.setSession(null); + launchedCapture = false; } function onWindowResize() {