aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/AssetService/AssetService.cs
diff options
context:
space:
mode:
authorUbitUmarov2018-01-26 21:04:46 +0000
committerUbitUmarov2018-01-26 21:04:46 +0000
commit69781810751c64cd8c87009dfa433a5dae3b8b20 (patch)
treeeaffaf17720341a938e96d01cfe0602bb23fd0ad /OpenSim/Services/AssetService/AssetService.cs
parentMerge branch 'master' into httptests (diff)
downloadopensim-SC-69781810751c64cd8c87009dfa433a5dae3b8b20.zip
opensim-SC-69781810751c64cd8c87009dfa433a5dae3b8b20.tar.gz
opensim-SC-69781810751c64cd8c87009dfa433a5dae3b8b20.tar.bz2
opensim-SC-69781810751c64cd8c87009dfa433a5dae3b8b20.tar.xz
Robust: allow Library assets to override old ones, so they can be updated easily from the xml files keeping same id (left FSAssets out)
Diffstat (limited to 'OpenSim/Services/AssetService/AssetService.cs')
-rw-r--r--OpenSim/Services/AssetService/AssetService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/AssetService/AssetService.cs b/OpenSim/Services/AssetService/AssetService.cs
index 5c37c33..ee2e568 100644
--- a/OpenSim/Services/AssetService/AssetService.cs
+++ b/OpenSim/Services/AssetService/AssetService.cs
@@ -82,7 +82,7 @@ namespace OpenSim.Services.AssetService
82 if (existingAsset == null || Util.SHA1Hash(existingAsset.Data) != Util.SHA1Hash(a.Data)) 82 if (existingAsset == null || Util.SHA1Hash(existingAsset.Data) != Util.SHA1Hash(a.Data))
83 { 83 {
84// m_log.DebugFormat("[ASSET]: Storing {0} {1}", a.Name, a.ID); 84// m_log.DebugFormat("[ASSET]: Storing {0} {1}", a.Name, a.ID);
85 Store(a); 85 m_Database.StoreAsset(a);
86 } 86 }
87 }); 87 });
88 } 88 }