mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-06-08 22:46:40 +00:00
Groundwork
Adds the same sort of model for registering loaders and exporters as is set out on gbitmap Added a bit more safety around the assimp matrix fix to convert incoming models to torques coordinate system.
This commit is contained in:
parent
8407fa360c
commit
ee04b0cf15
9 changed files with 238 additions and 358 deletions
|
|
@ -1361,16 +1361,7 @@ bool TSShape::isShapeFileType(Torque::Path filePath)
|
|||
{
|
||||
String fileExt = filePath.getExtension();
|
||||
|
||||
if (
|
||||
fileExt.equal("dts", String::NoCase) ||
|
||||
fileExt.equal("dsq", String::NoCase) ||
|
||||
fileExt.equal("dae", String::NoCase) ||
|
||||
fileExt.equal("fbx", String::NoCase) ||
|
||||
fileExt.equal("blend", String::NoCase) ||
|
||||
fileExt.equal("obj", String::NoCase) ||
|
||||
fileExt.equal("gltf", String::NoCase) ||
|
||||
fileExt.equal("glb", String::NoCase)
|
||||
)
|
||||
if (TSShape::sFindRegInfo(fileExt))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue