mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 23:10:08 +01:00
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.
This commit is contained in:
1
.github/dist/footer.html
vendored
1
.github/dist/footer.html
vendored
@@ -32,6 +32,7 @@
|
|||||||
<li><code>mono/*</code>: Not available yet (requires Mono-enabled HTML5 build).</li>
|
<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>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>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>
|
</ul>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
2
.github/dist/header.html
vendored
2
.github/dist/header.html
vendored
@@ -98,7 +98,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.unsupported-demos li {
|
.unsupported-demos li {
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 1.5rem;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
3
.github/workflows/export_web.yml
vendored
3
.github/workflows/export_web.yml
vendored
@@ -59,7 +59,8 @@ jobs:
|
|||||||
mobile/sensors/ \
|
mobile/sensors/ \
|
||||||
mono/ \
|
mono/ \
|
||||||
networking/ \
|
networking/ \
|
||||||
plugins/
|
plugins/ \
|
||||||
|
xr/
|
||||||
|
|
||||||
for panorama in 3d/material_testers/backgrounds/*.hdr; do
|
for panorama in 3d/material_testers/backgrounds/*.hdr; do
|
||||||
# Decrease the resolution to get below the 100 MB PCK size limit.
|
# Decrease the resolution to get below the 100 MB PCK size limit.
|
||||||
|
|||||||
Reference in New Issue
Block a user