mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
purge assets and clear image
image asset was missing a clear, passing a null value should clear the image asset and set it to null on materials.
This commit is contained in:
parent
aa3f07e339
commit
6870a040e2
2 changed files with 24 additions and 1 deletions
|
|
@ -119,6 +119,8 @@ void AssetManager::onRemove()
|
|||
mAssetTagsManifest->deleteObject();
|
||||
}
|
||||
|
||||
purgeAssets();
|
||||
|
||||
// Call parent.
|
||||
Parent::onRemove();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue