Fixes map image on link-region (HG).
parent
2cfe44f13e
commit
006c2c2e8f
|
@ -46,6 +46,7 @@ using OpenSim.Framework.Servers;
|
||||||
using OpenSim.Framework.Servers.HttpServer;
|
using OpenSim.Framework.Servers.HttpServer;
|
||||||
using OpenSim.Region.Communications.OGS1;
|
using OpenSim.Region.Communications.OGS1;
|
||||||
using OpenSim.Region.Framework.Scenes;
|
using OpenSim.Region.Framework.Scenes;
|
||||||
|
using OpenSim.Services.Interfaces;
|
||||||
// using OpenSim.Region.Environment.Modules.Framework;
|
// using OpenSim.Region.Environment.Modules.Framework;
|
||||||
|
|
||||||
namespace OpenSim.Region.Communications.Hypergrid
|
namespace OpenSim.Region.Communications.Hypergrid
|
||||||
|
@ -362,8 +363,10 @@ namespace OpenSim.Region.Communications.Hypergrid
|
||||||
info.RegionSettings.TerrainImageID = ass.FullID;
|
info.RegionSettings.TerrainImageID = ass.FullID;
|
||||||
ass.Type = (int)AssetType.Texture;
|
ass.Type = (int)AssetType.Texture;
|
||||||
ass.Temporary = false;
|
ass.Temporary = false;
|
||||||
|
ass.Local = true;
|
||||||
ass.Data = imageData;
|
ass.Data = imageData;
|
||||||
m_assetcache.AddAsset(ass);
|
|
||||||
|
m_sceneman.CurrentOrFirstScene.AssetService.Store(ass);
|
||||||
|
|
||||||
}
|
}
|
||||||
catch // LEGIT: Catching problems caused by OpenJPEG p/invoke
|
catch // LEGIT: Catching problems caused by OpenJPEG p/invoke
|
||||||
|
|
|
@ -1645,6 +1645,7 @@
|
||||||
<Reference name="OpenSim.Region.Communications.Local"/>
|
<Reference name="OpenSim.Region.Communications.Local"/>
|
||||||
<Reference name="OpenSim.Region.Communications.OGS1"/>
|
<Reference name="OpenSim.Region.Communications.OGS1"/>
|
||||||
<Reference name="OpenSim.Region.Framework"/>
|
<Reference name="OpenSim.Region.Framework"/>
|
||||||
|
<Reference name="OpenSim.Services.Interfaces"/>
|
||||||
<Reference name="OpenMetaverse.dll"/>
|
<Reference name="OpenMetaverse.dll"/>
|
||||||
<Reference name="OpenMetaverseTypes.dll"/>
|
<Reference name="OpenMetaverseTypes.dll"/>
|
||||||
<Reference name="XMLRPC.dll"/>
|
<Reference name="XMLRPC.dll"/>
|
||||||
|
|
Loading…
Reference in New Issue