From be8592e8f0bef479ddb9e7842072640ee2ab944e Mon Sep 17 00:00:00 2001 From: Noeri Huisman <8823461+mrxz@users.noreply.github.com> Date: Sun, 7 Jan 2024 22:39:19 +0100 Subject: [PATCH] Various fixes in example (#5424) * Update usages of vr-mode-ui to the new xr-mode-ui * Omit crossorigin attribute on a-asset-item tags as it has no effect * Fix small mistakes in mixed-reality examples * Update environment-component to 1.3.4 in examples --------- Co-authored-by: Noeri Huisman --- examples/animation/aframe-logo/index.html | 2 +- examples/boilerplate/ar-hello-world/index.html | 2 +- examples/boilerplate/webxr-ar-lighting/index.html | 7 +++---- examples/boilerplate/webxr-dom-overlay/index.html | 2 +- examples/mixed-reality/anchor/index.html | 3 +-- examples/mixed-reality/real-world-meshing/index.html | 4 ++-- examples/mixed-reality/watch/index.html | 6 +++--- examples/showcase/anime-UI/index.html | 2 +- examples/showcase/hand-tracking-grab-controls/index.html | 2 +- examples/showcase/hand-tracking/index.html | 2 +- examples/showcase/link-traversal/egypt.html | 2 +- examples/showcase/link-traversal/forest.html | 2 +- examples/showcase/link-traversal/index.html | 3 +-- examples/showcase/link-traversal/japan.html | 2 +- examples/showcase/model-viewer/index.html | 4 ++-- examples/showcase/spatial-ui/index.html | 4 ++-- examples/showcase/ui/index.html | 2 +- examples/test/layer/index.html | 2 +- examples/test/text/anchors.html | 2 +- examples/test/text/scenarios.html | 2 +- 20 files changed, 27 insertions(+), 30 deletions(-) diff --git a/examples/animation/aframe-logo/index.html b/examples/animation/aframe-logo/index.html index a8664a47784..e9bb22de463 100644 --- a/examples/animation/aframe-logo/index.html +++ b/examples/animation/aframe-logo/index.html @@ -8,7 +8,7 @@ - diff --git a/examples/boilerplate/ar-hello-world/index.html b/examples/boilerplate/ar-hello-world/index.html index a73487d618c..7c7246435dc 100644 --- a/examples/boilerplate/ar-hello-world/index.html +++ b/examples/boilerplate/ar-hello-world/index.html @@ -24,7 +24,7 @@ ar-hit-test="target:#objects;" renderer="physicallyCorrectLights:true;colorManagement:true;exposure:1;toneMapping:ACESFilmic;" shadow="type:pcfsoft" - vr-mode-ui="enterAREnabled: true" + xr-mode-ui="XRMode: xr" > diff --git a/examples/boilerplate/webxr-ar-lighting/index.html b/examples/boilerplate/webxr-ar-lighting/index.html index 3b66e90486e..b0139375e13 100644 --- a/examples/boilerplate/webxr-ar-lighting/index.html +++ b/examples/boilerplate/webxr-ar-lighting/index.html @@ -1,10 +1,9 @@ - - + - + AFRame Total WebXR AR Demo