This commit is contained in:
tresabhi committed 2026-06-12 14:36:02 -05:00
1 parent 2213f7d032
commit 5dc11473bb
1 file changed
+4 -4
+4 -4
View File
@@ -58,7 +58,8 @@ public class MonoGltf
foreach (var section in lod0.Sections!.Value) foreach (var section in lod0.Sections!.Value)
{ {
scene.AddRigidMesh(ParseSection(section, materialMap, lod0, lod0.Verts!), group); var configured = ParseSection(section, materialMap, lod0, lod0.Verts!);
scene.AddRigidMesh(configured, group);
} }
} }
else if (mesh is USkeletalMesh skeletalMesh) else if (mesh is USkeletalMesh skeletalMesh)
@@ -69,15 +70,14 @@ public class MonoGltf
foreach (var section in lod0.Sections!.Value) foreach (var section in lod0.Sections!.Value)
{ {
scene.AddRigidMesh(ParseSection(section, materialMap, lod0, lod0.Verts!), group); var configured = ParseSection(section, materialMap, lod0, lod0.Verts!);
scene.AddRigidMesh(configured, group);
} }
} }
else else
{ {
continue; continue;
} }
scene.AddNode(group);
} }
} }