mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-13 22:39:39 -05:00
Suppress warning logs when loading vrm10 models.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user