aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-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