ShipRigTests fixture: the shared mesh has a POSITION primitive

The fixture's empty primitives array is a mesh the importer cannot
build, which Bind now refuses.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Nibu 2026-11-13 06:22:33 +00:00
commit 339c617a74

View file

@ -209,7 +209,7 @@ public sealed class ShipRigTests : IDisposable
private static string GlbJson(Node[] nodes)
{
var text = new StringBuilder(@"{""asset"":{""version"":""2.0""},""meshes"":[{""primitives"":[]}],""nodes"":[");
var text = new StringBuilder(@"{""asset"":{""version"":""2.0""},""meshes"":[{""primitives"":[{""attributes"":{""POSITION"":0}}]}],""nodes"":[");
for (var index = 0; index < nodes.Length; index++)
{
var node = nodes[index];