From d61fc7339e7cddff2e512c5a3788627102d2b92c Mon Sep 17 00:00:00 2001 From: Masataka SUMI Date: Fri, 21 May 2021 19:15:37 +0900 Subject: [PATCH] fix bug --- Assets/VRMShaders/GLTF/IO/Editor/EditorTextureSerializer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/VRMShaders/GLTF/IO/Editor/EditorTextureSerializer.cs b/Assets/VRMShaders/GLTF/IO/Editor/EditorTextureSerializer.cs index 6969ebf78..5bdb32a2c 100644 --- a/Assets/VRMShaders/GLTF/IO/Editor/EditorTextureSerializer.cs +++ b/Assets/VRMShaders/GLTF/IO/Editor/EditorTextureSerializer.cs @@ -87,7 +87,7 @@ namespace VRMShaders if (texture2D != null) { var path = AssetDatabase.GetAssetPath(texture2D); - if (string.IsNullOrEmpty(path)) + if (!string.IsNullOrEmpty(path)) { assetImporter = AssetImporter.GetAtPath(path) as TextureImporter; if (assetImporter != null)