From 564727e0f5cf12fd947418ecc480b79fa089e1a5 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Wed, 20 Jan 2021 21:47:38 +0900 Subject: [PATCH] fix --- Assets/VRM10/Runtime/IO/TextureAdapter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/VRM10/Runtime/IO/TextureAdapter.cs b/Assets/VRM10/Runtime/IO/TextureAdapter.cs index 289825d8f..d5c6f187c 100644 --- a/Assets/VRM10/Runtime/IO/TextureAdapter.cs +++ b/Assets/VRM10/Runtime/IO/TextureAdapter.cs @@ -11,7 +11,7 @@ namespace UniVRM10 { var image = images[x.source]; var name = !string.IsNullOrEmpty(x.name) ? x.name : image.Name; - return new ImageTexture(x.name, sampler.FromGltf(), image, colorSpace, textureType); + return new ImageTexture(name, sampler.FromGltf(), image, colorSpace, textureType); } public static TextureSampler FromGltf(this glTFTextureSampler sampler)