mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Shifted check for FBX importer in assimp shape loader code to utilize stringtable
This commit is contained in:
parent
f14375983b
commit
2af12c52e1
1 changed files with 1 additions and 1 deletions
|
|
@ -179,7 +179,7 @@ void AssimpShapeLoader::enumerateScene()
|
||||||
String importFormat;
|
String importFormat;
|
||||||
|
|
||||||
const aiImporterDesc* importerDescription = aiGetImporterDesc(shapePath.getExtension().c_str());
|
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;
|
ColladaUtils::getOptions().formatScaleFactor = 0.01f;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue