aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorTleiades Hax2007-10-26 13:12:49 +0000
committerTleiades Hax2007-10-26 13:12:49 +0000
commit75be841839d0b4695625da5c2ce2c89b13758485 (patch)
treecf65df8a1c850a6d1ddf15c5ce89a04c0abc80bd /OpenSim/Region
parentVery early first implementation of grid based assets. (diff)
downloadopensim-SC_OLD-75be841839d0b4695625da5c2ce2c89b13758485.zip
opensim-SC_OLD-75be841839d0b4695625da5c2ce2c89b13758485.tar.gz
opensim-SC_OLD-75be841839d0b4695625da5c2ce2c89b13758485.tar.bz2
opensim-SC_OLD-75be841839d0b4695625da5c2ce2c89b13758485.tar.xz
Region ground texture was not marked as temporary, when being created, and assetcache did not check if an asset was temporary prior to uploading the cache to the asset server. Consequently the asset server was constantly being swamped by temporary ground textures.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index d7c1759..69c3f9e 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -517,6 +517,7 @@ namespace OpenSim.Region.Environment.Scenes
517 asset.Data = data; 517 asset.Data = data;
518 asset.Name = "terrainImage"; 518 asset.Name = "terrainImage";
519 asset.Type = 0; 519 asset.Type = 0;
520 asset.Temporary = true;
520 commsManager.AssetCache.AddAsset(asset); 521 commsManager.AssetCache.AddAsset(asset);
521 } 522 }
522 523