From d07934bf255b76642dc37a6418e8b8ba91fd6fe7 Mon Sep 17 00:00:00 2001 From: zhucan <846422360@qq.com> Date: Mon, 31 Jul 2023 23:19:11 +0800 Subject: [PATCH] adjust comment --- code/AssetLib/glTF2/glTF2Exporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/AssetLib/glTF2/glTF2Exporter.cpp b/code/AssetLib/glTF2/glTF2Exporter.cpp index f08a97b6e..d6f778fbe 100644 --- a/code/AssetLib/glTF2/glTF2Exporter.cpp +++ b/code/AssetLib/glTF2/glTF2Exporter.cpp @@ -844,7 +844,7 @@ void glTF2Exporter::ExportMaterials() { } if (!m->pbrMetallicRoughness.metallicRoughnessTexture.texture) { - // if there still wasn't a aiTextureType_METALNESS defined in the source, fallback to unknown texture + // if there still wasn't a aiTextureType_METALNESS defined in the source, fallback to AI_MATKEY_GLTF_PBRMETALLICROUGHNESS_METALLICROUGHNESS_TEXTURE GetMatTex(mat, m->pbrMetallicRoughness.metallicRoughnessTexture, AI_MATKEY_GLTF_PBRMETALLICROUGHNESS_METALLICROUGHNESS_TEXTURE); }