fix(menu): load pizza GLB at runtime when scene export has no mesh

Exported MenuScene.glb had cc0_-_pizza_salami with MeshRenderer but null
materials and no glTF mesh buffers (common when Unity imported an LFS pointer).
Add include/dishes standalone GLB and dishMeshFallback to GLTFLoader-inject
geometry when a dish root has no meshes. Track include/dishes outside Git LFS.

Made-with: Cursor
This commit is contained in:
pelpanagiotis
2026-04-20 00:07:33 +03:00
parent 0200cd8082
commit 400b6d6f09
37 changed files with 86 additions and 21 deletions

View File

@@ -53,7 +53,7 @@ if (!customElements.get(componentName)) {
while(this.basePath.endsWith('/')) {
this.basePath = this.basePath.slice(0, -1);
}
script.src = this.getAttribute('script-src') || `${this.basePath}/assets/index-C4yn7lK8.js`;
script.src = this.getAttribute('script-src') || `${this.basePath}/assets/index-Fs2VLbun.js`;
this.shadowRoot.appendChild(script);
this.needleEngine = document.createElement('needle-engine');