Integrating latest 47acbe8
This commit is contained in:
@@ -189,7 +189,9 @@ namespace ImageProcessingAtom
|
||||
// Add all the mip chain assets as dependencies except the tail mip chain since its embedded in the StreamingImageAsset
|
||||
if (it->Get() != mipChains.begin()->Get())
|
||||
{
|
||||
product.m_dependencies.push_back(AssetBuilderSDK::ProductDependency(it->GetId(), 0));
|
||||
// Use PreLoad for mipchain assets for now.
|
||||
// [GFX TODO] [ATOM-14467] Remove unnecessary code in StreamingImage::OnAssetReloaded when runtime switching dependency load behavior is supported
|
||||
product.m_dependencies.push_back(AssetBuilderSDK::ProductDependency(it->GetId(), AZ::Data::ProductDependencyInfo::CreateFlags(AZ::Data::AssetLoadBehavior::PreLoad)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user