Map Image of SIM †[edit]
- OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
- OnHTTPGetMapImage()
- OpenJPEG.DecodeToImage(mapasset.Data, out managedImage, out image) でエラー
diff -Nur opensim-/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs opensim/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
--- opensim-/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs 2010-05-23 20:55:36.000000000 +0800
+++ opensim/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs 2010-05-23 21:34:02.000000000 +0800
@@ -1032,7 +1032,9 @@
m_log.Debug("[MAPTILE]: STORING MAPTILE IMAGE");
- m_scene.RegionInfo.RegionSettings.TerrainImageID = UUID.Random();
+ UUID terrainImageID = UUID.Random();
+ m_scene.RegionInfo.RegionSettings.TerrainImageID = terrainImageID;
+ m_scene.RegionInfo.lastMapUUID = terrainImageID;
AssetBase asset = new AssetBase(
m_scene.RegionInfo.RegionSettings.TerrainImageID,