Browse Source

Fix getting anisotropy in obj

youkeyao 3 years ago
parent
commit
9b227fc262
1 changed files with 1 additions and 0 deletions
  1. 1 0
      code/AssetLib/Obj/ObjFileMtlImporter.cpp

+ 1 - 0
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<DataArrayIt>(m_DataIt, m_DataItEnd, m_uiLine);
             } break;