소스 검색

Shifted check for FBX importer in assimp shape loader code to utilize stringtable

Areloch 3 년 전
부모
커밋
2af12c52e1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Engine/source/ts/assimp/assimpShapeLoader.cpp

+ 1 - 1
Engine/source/ts/assimp/assimpShapeLoader.cpp

@@ -179,7 +179,7 @@ void AssimpShapeLoader::enumerateScene()
       String importFormat;
 
       const aiImporterDesc* importerDescription = aiGetImporterDesc(shapePath.getExtension().c_str());
-      if (importerDescription->mName == "Autodesk FBX Importer")
+      if (StringTable->insert(importerDescription->mName) == StringTable->insert("Autodesk FBX Importer"))
       {
          ColladaUtils::getOptions().formatScaleFactor = 0.01f;
       }