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:
parent
b66d4f89ab
commit
339c617a74
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Reference in a new issue