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:
marauder2k7 2025-05-14 00:57:38 +01:00
parent aa3f07e339
commit 6870a040e2
2 changed files with 24 additions and 1 deletions

View file

@ -119,6 +119,8 @@ void AssetManager::onRemove()
mAssetTagsManifest->deleteObject();
}
purgeAssets();
// Call parent.
Parent::onRemove();
}