mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-14 22:50:08 -05:00
fix
This commit is contained in:
parent
29c4686af4
commit
fd293b5f4c
|
|
@ -17,14 +17,15 @@ 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.Log($"Texture image MIME type `{textureInfo.DataMimeType}` is not supported.");
|
||||
if (string.IsNullOrEmpty(textureInfo.DataMimeType))
|
||||
{
|
||||
Debug.Log($"Texture image MIME type is empty.");
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.Log($"Texture image MIME type `{textureInfo.DataMimeType}` is not supported.");
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user