Fixed #2808 - on empty submeshes still continue to process all remaining (valid) subMeshes

This commit is contained in:
Christian Petry
2026-06-26 16:05:34 +02:00
parent b75d0d6c96
commit ab6b844348

View File

@@ -180,7 +180,8 @@ namespace UniGLTF
if (submeshIndices.Length == 0)
{
// https://github.com/vrm-c/UniVRM/issues/664
break;
// Skip empty submesh and continue with remaining submeshes
continue;
}
else if (submeshIndices.Length < 3)
{