diff options
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 |