mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-12 13:34:39 -05:00
Fixed build warnings
This commit is contained in:
parent
0108d018e0
commit
221e1e573d
|
|
@ -375,10 +375,10 @@ namespace UniGLTF
|
|||
|
||||
for (int i = 0; i < GLTF.textures.Count; ++i)
|
||||
{
|
||||
var image = GLTF.GetImageFromTextureIndex(i);
|
||||
|
||||
TextureItem item = null;
|
||||
#if UNITY_EDITOR
|
||||
var image = GLTF.GetImageFromTextureIndex(i);
|
||||
if (imageBaseDir.IsUnderAssetsFolder
|
||||
&& !string.IsNullOrEmpty(image.uri)
|
||||
&& !image.uri.StartsWith("data:")
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@ namespace UniHumanoid
|
|||
m_lastDir = Path.GetDirectoryName(path);
|
||||
#else
|
||||
string path=null;
|
||||
throw new NotImplementedException();
|
||||
#endif
|
||||
|
||||
#pragma warning disable 4014
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user