From 00460ea051633cee01b7644fb957f29fd54f46cf Mon Sep 17 00:00:00 2001 From: ousttrue Date: Thu, 15 Apr 2021 14:12:21 +0900 Subject: [PATCH] =?UTF-8?q?if=E6=96=87=E3=80=80=E9=96=93=E9=81=95=E3=81=84?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/VRM/Runtime/IO/VRMMtoonMaterialImporter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/VRM/Runtime/IO/VRMMtoonMaterialImporter.cs b/Assets/VRM/Runtime/IO/VRMMtoonMaterialImporter.cs index 345c74da3..75470b3c5 100644 --- a/Assets/VRM/Runtime/IO/VRMMtoonMaterialImporter.cs +++ b/Assets/VRM/Runtime/IO/VRMMtoonMaterialImporter.cs @@ -97,7 +97,7 @@ namespace VRM public IEnumerable<(SubAssetKey, TextureImportParam)> EnumerateTexturesForMaterial(GltfParser parser, int i) { // mtoon - if (TryCreateParam(parser, i, out MaterialImportParam param)) + if (!TryCreateParam(parser, i, out MaterialImportParam param)) { // unlit if (!GltfUnlitMaterial.TryCreateParam(parser, i, out param))