From e4f7a1c07ab4b5e1b97d8b3a8f381dc8eccd706f Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 7 Mar 2020 21:13:42 +0000 Subject: [PATCH] a few missing files --- OpenSim/Framework/IAssetCache.cs | 2 +- OpenSim/Region/CoreModules/Asset/CenomeAssetCache.cs | 2 +- OpenSim/Region/CoreModules/Asset/CoreAssetCache.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenSim/Framework/IAssetCache.cs b/OpenSim/Framework/IAssetCache.cs index 2df9199a26..1626a918cb 100644 --- a/OpenSim/Framework/IAssetCache.cs +++ b/OpenSim/Framework/IAssetCache.cs @@ -35,7 +35,7 @@ namespace OpenSim.Framework /// Cache the specified asset. /// /// - void Cache(AssetBase asset); + void Cache(AssetBase asset, bool replace = false); /// /// Cache that the specified asset wasn't found. diff --git a/OpenSim/Region/CoreModules/Asset/CenomeAssetCache.cs b/OpenSim/Region/CoreModules/Asset/CenomeAssetCache.cs index 403236c170..310caeacbc 100644 --- a/OpenSim/Region/CoreModules/Asset/CenomeAssetCache.cs +++ b/OpenSim/Region/CoreModules/Asset/CenomeAssetCache.cs @@ -208,7 +208,7 @@ namespace OpenSim.Region.CoreModules.Asset /// /// The asset that is being cached. /// - public void Cache(AssetBase asset) + public void Cache(AssetBase asset, bool replace = true) { if (asset != null) { diff --git a/OpenSim/Region/CoreModules/Asset/CoreAssetCache.cs b/OpenSim/Region/CoreModules/Asset/CoreAssetCache.cs index 10c0e85175..893f6dd5b2 100644 --- a/OpenSim/Region/CoreModules/Asset/CoreAssetCache.cs +++ b/OpenSim/Region/CoreModules/Asset/CoreAssetCache.cs @@ -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);