diff options
author | lbsa71 | 2007-11-06 11:10:45 +0000 |
---|---|---|
committer | lbsa71 | 2007-11-06 11:10:45 +0000 |
commit | ee1fcc729c9fe4df367a12ffe4a0d90c7378c160 (patch) | |
tree | cc1ecc6f5fe304184ec7c371f950745c948e28a4 /OpenSim/Framework/Communications/Cache/AssetServerBase.cs | |
parent | teravus debug patch of libode.so from libs (diff) | |
download | opensim-SC-ee1fcc729c9fe4df367a12ffe4a0d90c7378c160.zip opensim-SC-ee1fcc729c9fe4df367a12ffe4a0d90c7378c160.tar.gz opensim-SC-ee1fcc729c9fe4df367a12ffe4a0d90c7378c160.tar.bz2 opensim-SC-ee1fcc729c9fe4df367a12ffe4a0d90c7378c160.tar.xz |
* Added better logging to AssetCache
* AssetCache now ignores duplicate uploads
* some m_ refactoring
* ignored some bins
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AssetServerBase.cs | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetServerBase.cs b/OpenSim/Framework/Communications/Cache/AssetServerBase.cs index 4ff1024..7692057 100644 --- a/OpenSim/Framework/Communications/Cache/AssetServerBase.cs +++ b/OpenSim/Framework/Communications/Cache/AssetServerBase.cs | |||
@@ -23,7 +23,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
23 | 23 | ||
24 | public void LoadDefaultAssets() | 24 | public void LoadDefaultAssets() |
25 | { | 25 | { |
26 | MainLog.Instance.Verbose("SQL ASSET SERVER", "Setting up asset database"); | 26 | MainLog.Instance.Verbose("ASSETSERVER", "Setting up asset database"); |
27 | 27 | ||
28 | ForEachDefaultAsset(StoreAsset); | 28 | ForEachDefaultAsset(StoreAsset); |
29 | ForEachXmlAsset(StoreAsset); | 29 | ForEachXmlAsset(StoreAsset); |
@@ -106,24 +106,6 @@ namespace OpenSim.Framework.Communications.Cache | |||
106 | public virtual List<AssetBase> GetDefaultAssets() | 106 | public virtual List<AssetBase> GetDefaultAssets() |
107 | { | 107 | { |
108 | List<AssetBase> assets = new List<AssetBase>(); | 108 | List<AssetBase> assets = new List<AssetBase>(); |
109 | // These assets have been moved into the OpenSimAssetSet.XML file | ||
110 | //assets.Add(CreateImageAsset("00000000-0000-1111-9999-000000000001", "Bricks", "bricks.jp2")); | ||
111 | //assets.Add(CreateImageAsset("00000000-0000-1111-9999-000000000002", "Plywood", "plywood.jp2")); | ||
112 | //assets.Add(CreateImageAsset("00000000-0000-1111-9999-000000000003", "Rocks", "rocks.jp2")); | ||
113 | //assets.Add(CreateImageAsset("00000000-0000-1111-9999-000000000004", "Granite", "granite.jp2")); | ||
114 | //assets.Add(CreateImageAsset("00000000-0000-1111-9999-000000000005", "Hardwood", "hardwood.jp2")); | ||
115 | //assets.Add(CreateImageAsset("00000000-0000-1111-5005-000000000005", "Prim Base Texture", "plywood.jp2")); | ||
116 | //assets.Add(CreateImageAsset("00000000-0000-1111-9999-000000000006", "Map Base Texture", "map_base.jp2")); | ||
117 | //assets.Add(CreateImageAsset("00000000-0000-1111-9999-000000000007", "Map Texture", "map1.jp2")); | ||
118 | //assets.Add(CreateImageAsset("00000000-0000-1111-9999-000000000010", "Female Body Texture", "femalebody.jp2")); | ||
119 | //assets.Add(CreateImageAsset("00000000-0000-1111-9999-000000000011", "Female Bottom Texture", "femalebottom.jp2")); | ||
120 | //assets.Add(CreateImageAsset("00000000-0000-1111-9999-000000000012", "Female Face Texture", "femaleface.jp2")); | ||
121 | |||
122 | //assets.Add(CreateAsset("77c41e39-38f9-f75a-024e-585989bbabbb", "Skin", "base_skin.dat", false)); | ||
123 | //assets.Add(CreateAsset("66c41e39-38f9-f75a-024e-585989bfab73", "Shape", "base_shape.dat", false)); | ||
124 | //assets.Add(CreateAsset("00000000-38f9-1111-024e-222222111110", "Shirt", "newshirt.dat", false)); | ||
125 | //assets.Add(CreateAsset("00000000-38f9-1111-024e-222222111120", "Shirt", "newpants.dat", false)); | ||
126 | |||
127 | return assets; | 109 | return assets; |
128 | } | 110 | } |
129 | 111 | ||