소스 검색

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.
Hugo Locurcio 8 달 전
부모
커밋
adf6d7e08d
3개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 0
      .github/dist/footer.html
  2. 1 1
      .github/dist/header.html
  3. 2 1
      .github/workflows/export_web.yml

+ 1 - 0
.github/dist/footer.html

@@ -32,6 +32,7 @@
         <li><code>mono/*</code>: Not available yet (requires Mono-enabled HTML5 build).</li>
         <li><code>networking/*</code>: 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.</li>
         <li><code>plugins/*</code>: Only effective within the editor.</li>
+        <li><code>xr/*</code>: Not functional on the web platform, as these demos are not designed for WebXR.</li>
     </ul>
 </body>
 </html>

+ 1 - 1
.github/dist/header.html

@@ -98,7 +98,7 @@
 		}
 
 		.unsupported-demos li {
-			margin-bottom: 2rem;
+			margin-bottom: 1.5rem;
 		}
 	</style>
 </head>

+ 2 - 1
.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.