flagflag  
Page Top

ファイル anchor.png

  • OpenSim/Region/CoreModules/World/WorldMa​p/WorldMapModule.cs
  • OnHTTPGetMapImage()
  • OpenJPEG.DecodeToImage(mapasset.Data, out managedImage, out image) でエラー
     
Page Top

Patch anchor.png

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,

Front page   Freeze Diff Backup Copy Rename Reload   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)
Counter: 1050, today: 1, yesterday: 2
Last-modified: 2010-05-23 (Sun) 21:50:00 (JST) (3731d) by admin

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthAug 2020Next Month
Su Mo Tu We Th Fr Sa
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
Today

Who's Online

27 user(s) are online (1 user(s) are browsing xpwiki)

Members: 0
Guests: 27

more...

Access Counter

Today : 1889188918891889
Yesterday : 8676867686768676
Total : 1502316215023162150231621502316215023162150231621502316215023162
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com