mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Shifted check for FBX importer in assimp shape loader code to utilize stringtable
This commit is contained in:
parent
f14375983b
commit
2af12c52e1
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue