From 9b227fc262aa7a296b51cfbe10685d6a88136df3 Mon Sep 17 00:00:00 2001 From: youkeyao Date: Thu, 3 Mar 2022 01:01:34 +0800 Subject: [PATCH] Fix getting anisotropy in obj --- code/AssetLib/Obj/ObjFileMtlImporter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/code/AssetLib/Obj/ObjFileMtlImporter.cpp b/code/AssetLib/Obj/ObjFileMtlImporter.cpp index 2441c17f2..bb70a5ed0 100644 --- a/code/AssetLib/Obj/ObjFileMtlImporter.cpp +++ b/code/AssetLib/Obj/ObjFileMtlImporter.cpp @@ -238,6 +238,7 @@ void ObjFileMtlImporter::load() { case 'a': // Anisotropy { + ++m_DataIt; getFloatValue(m_pModel->m_pCurrentMaterial->anisotropy); m_DataIt = skipLine(m_DataIt, m_DataItEnd, m_uiLine); } break;