diff options
author | diva | 2009-05-24 02:09:20 +0000 |
---|---|---|
committer | diva | 2009-05-24 02:09:20 +0000 |
commit | 006c2c2e8ff93fae631af126e63b0e4c18afc76d (patch) | |
tree | 1dae7edf99d23a1141102e511d677ea26b692bdd /OpenSim/Region | |
parent | * Mono sucks. (Fixes crash due to Mono not implementing NetworkInformation.IP... (diff) | |
download | opensim-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.cs | 5 |
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; | |||
46 | using OpenSim.Framework.Servers.HttpServer; | 46 | using OpenSim.Framework.Servers.HttpServer; |
47 | using OpenSim.Region.Communications.OGS1; | 47 | using OpenSim.Region.Communications.OGS1; |
48 | using OpenSim.Region.Framework.Scenes; | 48 | using OpenSim.Region.Framework.Scenes; |
49 | using OpenSim.Services.Interfaces; | ||
49 | // using OpenSim.Region.Environment.Modules.Framework; | 50 | // using OpenSim.Region.Environment.Modules.Framework; |
50 | 51 | ||
51 | namespace OpenSim.Region.Communications.Hypergrid | 52 | namespace 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 |