aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authordiva2009-05-24 02:09:20 +0000
committerdiva2009-05-24 02:09:20 +0000
commit006c2c2e8ff93fae631af126e63b0e4c18afc76d (patch)
tree1dae7edf99d23a1141102e511d677ea26b692bdd /OpenSim/Region
parent* Mono sucks. (Fixes crash due to Mono not implementing NetworkInformation.IP... (diff)
downloadopensim-SC-006c2c2e8ff93fae631af126e63b0e4c18afc76d.zip
opensim-SC-006c2c2e8ff93fae631af126e63b0e4c18afc76d.tar.gz
opensim-SC-006c2c2e8ff93fae631af126e63b0e4c18afc76d.tar.bz2
opensim-SC-006c2c2e8ff93fae631af126e63b0e4c18afc76d.tar.xz
Fixes map image on link-region (HG).
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Communications/Hypergrid/HGGridServices.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/Hypergrid/HGGridServices.cs b/OpenSim/Region/Communications/Hypergrid/HGGridServices.cs
index 7b116ca..7daeba4 100644
--- a/OpenSim/Region/Communications/Hypergrid/HGGridServices.cs
+++ b/OpenSim/Region/Communications/Hypergrid/HGGridServices.cs
@@ -46,6 +46,7 @@ using OpenSim.Framework.Servers;
46using OpenSim.Framework.Servers.HttpServer; 46using OpenSim.Framework.Servers.HttpServer;
47using OpenSim.Region.Communications.OGS1; 47using OpenSim.Region.Communications.OGS1;
48using OpenSim.Region.Framework.Scenes; 48using OpenSim.Region.Framework.Scenes;
49using OpenSim.Services.Interfaces;
49// using OpenSim.Region.Environment.Modules.Framework; 50// using OpenSim.Region.Environment.Modules.Framework;
50 51
51namespace OpenSim.Region.Communications.Hypergrid 52namespace OpenSim.Region.Communications.Hypergrid
@@ -362,8 +363,10 @@ namespace OpenSim.Region.Communications.Hypergrid
362 info.RegionSettings.TerrainImageID = ass.FullID; 363 info.RegionSettings.TerrainImageID = ass.FullID;
363 ass.Type = (int)AssetType.Texture; 364 ass.Type = (int)AssetType.Texture;
364 ass.Temporary = false; 365 ass.Temporary = false;
366 ass.Local = true;
365 ass.Data = imageData; 367 ass.Data = imageData;
366 m_assetcache.AddAsset(ass); 368
369 m_sceneman.CurrentOrFirstScene.AssetService.Store(ass);
367 370
368 } 371 }
369 catch // LEGIT: Catching problems caused by OpenJPEG p/invoke 372 catch // LEGIT: Catching problems caused by OpenJPEG p/invoke