mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-21 04:15:36 +00:00
Merge pull request #1114 from Azaezel/alpha41/assetAnalysisAugs
asset load flow work
This commit is contained in:
commit
a8194fdf3a
23 changed files with 175 additions and 44 deletions
|
|
@ -527,7 +527,8 @@ bool afxMagicMissileData::preload(bool server, String &errorStr)
|
|||
Con::errorf(ConsoleLogEntry::General, "afxMagicMissileData::preload: Invalid packet, bad datablockid(lightDesc): %d", lightDescId);
|
||||
}
|
||||
|
||||
if (!mProjectileShapeAsset.isNull())
|
||||
U32 assetStatus = ShapeAsset::getAssetErrCode(mProjectileShapeAsset);
|
||||
if (assetStatus == AssetBase::Ok || assetStatus == AssetBase::UsingFallback)
|
||||
{
|
||||
projectileShape = mProjectileShapeAsset->getShapeResource();
|
||||
if (bool(projectileShape) == false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue