mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
fix item->importStatus tagging in importer
This commit is contained in:
parent
c99c9cc365
commit
0760621212
1 changed files with 2 additions and 2 deletions
|
|
@ -1409,7 +1409,7 @@ void AssetImporter::processImportAssets(AssetImportObject* assetItem)
|
||||||
Con::executef(this, processCommand.c_str(), item);
|
Con::executef(this, processCommand.c_str(), item);
|
||||||
}
|
}
|
||||||
|
|
||||||
item->importStatus == AssetImportObject::Processed;
|
item->importStatus = AssetImportObject::Processed;
|
||||||
|
|
||||||
//try recusing on the children(if any)
|
//try recusing on the children(if any)
|
||||||
processImportAssets(item);
|
processImportAssets(item);
|
||||||
|
|
@ -2018,7 +2018,7 @@ void AssetImporter::validateAsset(AssetImportObject* assetItem)
|
||||||
AssetQuery aQuery;
|
AssetQuery aQuery;
|
||||||
U32 numAssetsFound = AssetDatabase.findAllAssets(&aQuery);
|
U32 numAssetsFound = AssetDatabase.findAllAssets(&aQuery);
|
||||||
|
|
||||||
bool hasCollision = false;
|
hasCollision = false;
|
||||||
for (U32 i = 0; i < numAssetsFound; i++)
|
for (U32 i = 0; i < numAssetsFound; i++)
|
||||||
{
|
{
|
||||||
StringTableEntry assetId = aQuery.mAssetList[i];
|
StringTableEntry assetId = aQuery.mAssetList[i];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue