From adf6d7e08df6bc6bc06d0249c96efa7572db1562 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 8 Nov 2024 11:33:19 +0100 Subject: [PATCH] Disable non-functional XR demos in web exports (#1130) These demos could work if they are redesigned to account for WebXR's limitations when running on the web platform. --- .github/dist/footer.html | 1 + .github/dist/header.html | 2 +- .github/workflows/export_web.yml | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/dist/footer.html b/.github/dist/footer.html index e525f398..7f955d99 100644 --- a/.github/dist/footer.html +++ b/.github/dist/footer.html @@ -32,6 +32,7 @@
  • mono/*: Not available yet (requires Mono-enabled HTML5 build).
  • networking/*: Doesn't make sense to be hosted on a static host, as the server must be hosted on the same origin due to the browser's same-origin policy.
  • plugins/*: Only effective within the editor.
  • +
  • xr/*: Not functional on the web platform, as these demos are not designed for WebXR.
  • diff --git a/.github/dist/header.html b/.github/dist/header.html index 9e4573e5..ff1c18d0 100644 --- a/.github/dist/header.html +++ b/.github/dist/header.html @@ -98,7 +98,7 @@ } .unsupported-demos li { - margin-bottom: 2rem; + margin-bottom: 1.5rem; } diff --git a/.github/workflows/export_web.yml b/.github/workflows/export_web.yml index c0a82364..9b08c827 100644 --- a/.github/workflows/export_web.yml +++ b/.github/workflows/export_web.yml @@ -59,7 +59,8 @@ jobs: mobile/sensors/ \ mono/ \ networking/ \ - plugins/ + plugins/ \ + xr/ for panorama in 3d/material_testers/backgrounds/*.hdr; do # Decrease the resolution to get below the 100 MB PCK size limit.