Suppress warning logs when loading vrm10 models.

This commit is contained in:
Masataka SUMI 2022-11-03 18:30:09 +09:00
parent dbdb147e2a
commit 29c4686af4

View File

@ -17,8 +17,14 @@ namespace VRMShaders
break;
case "image/jpeg":
break;
case "":
Debug.Log($"Texture image MIME type is empty.");
break;
case null:
Debug.Log($"Texture image MIME type is empty.");
break;
default:
Debug.LogWarning($"Texture image MIME type `{textureInfo.DataMimeType}` is not supported.");
Debug.Log($"Texture image MIME type `{textureInfo.DataMimeType}` is not supported.");
break;
}