mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Merge pull request #1560 from marauder2k9-torque/assimp-armature-fixes
DSQ Fixes
This commit is contained in:
commit
f1723bbb28
|
|
@ -2097,7 +2097,7 @@ void AssetImporter::processShapeAnimationAsset(AssetImportObject* assetItem)
|
|||
{
|
||||
enumColladaForImport(filePath, shapeInfo, false);
|
||||
}
|
||||
else if (fileExt.compare("dts") == 0 || fileExt.compare("dsq") == 0)
|
||||
else if (fileExt.compare("dts") == 0)
|
||||
{
|
||||
enumDTSForImport(filePath, shapeInfo);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2155,15 +2155,13 @@ DefineTSShapeConstructorMethod(addSequence, bool,
|
|||
StringTableEntry assetType = AssetDatabase.getAssetType(assetId);
|
||||
if (assetType == StringTable->insert("ShapeAsset"))
|
||||
{
|
||||
ShapeAsset* asset = AssetDatabase.acquireAsset<ShapeAsset>(assetId);
|
||||
AssetPtr<ShapeAsset> asset = assetId;
|
||||
srcPath = asset->getShapeFile();
|
||||
AssetDatabase.releaseAsset(assetId);
|
||||
}
|
||||
else if (assetType == StringTable->insert("ShapeAnimationAsset"))
|
||||
{
|
||||
ShapeAnimationAsset* asset = AssetDatabase.acquireAsset<ShapeAnimationAsset>(assetId);
|
||||
AssetPtr<ShapeAnimationAsset> asset = assetId;
|
||||
srcPath = asset->getAnimationPath();
|
||||
AssetDatabase.releaseAsset(assetId);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue