From 2af12c52e100f473a602a801c22f9319082a08f6 Mon Sep 17 00:00:00 2001 From: Areloch Date: Sun, 14 Nov 2021 01:28:16 -0600 Subject: [PATCH] Shifted check for FBX importer in assimp shape loader code to utilize stringtable --- Engine/source/ts/assimp/assimpShapeLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/ts/assimp/assimpShapeLoader.cpp b/Engine/source/ts/assimp/assimpShapeLoader.cpp index d1b201ecd..f0dbd509e 100644 --- a/Engine/source/ts/assimp/assimpShapeLoader.cpp +++ b/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; }