a few missing files

master
UbitUmarov 2020-03-07 21:13:42 +00:00
parent 033f6f889d
commit e4f7a1c07a
3 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ namespace OpenSim.Framework
/// Cache the specified asset.
/// </summary>
/// <param name='asset'></param>
void Cache(AssetBase asset);
void Cache(AssetBase asset, bool replace = false);
/// <summary>
/// Cache that the specified asset wasn't found.

View File

@ -208,7 +208,7 @@ namespace OpenSim.Region.CoreModules.Asset
/// <param name="asset">
/// The asset that is being cached.
/// </param>
public void Cache(AssetBase asset)
public void Cache(AssetBase asset, bool replace = true)
{
if (asset != null)
{

View File

@ -121,7 +121,7 @@ namespace OpenSim.Region.CoreModules.Asset
return asset != null;
}
public void Cache(AssetBase asset)
public void Cache(AssetBase asset, bool replace = true)
{
if (asset != null)
m_Cache.Store(asset.ID, asset);