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:
3
.gitattributes
vendored
3
.gitattributes
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user