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

3
.gitattributes vendored
View File

@@ -13,3 +13,6 @@
# Vite/Needle dist/ is static hosting: must be real binaries, not LFS pointers (breaks fetch/GLTF load).
Needle/**/dist/** -filter -diff -merge
# Runtime GLB fallbacks (copied for web): must be real files so fetch/GLTFLoader works without LFS checkout.
Needle/**/include/dishes/** -filter -diff -merge