This commit is contained in:
Masataka SUMI 2022-03-15 21:49:24 +09:00
parent 1abdb0690d
commit 8cffd2ccfa

View File

@ -65,9 +65,9 @@ namespace UniVRM10
return FirstPersonType.auto;
}
private static int? MigrateFirstPersonMeshIndex(JsonNode firstPersonJsonNode, string key, glTF gltf)
private static int? MigrateFirstPersonMeshIndex(JsonNode meshAnnotationJsonNode, string key, glTF gltf)
{
if (firstPersonJsonNode.TryGet(key, out var meshIndexJsonNode))
if (meshAnnotationJsonNode.TryGet(key, out var meshIndexJsonNode))
{
var meshIndex = meshIndexJsonNode.GetInt32();