Преглед изворни кода

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;
       }