diff options
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 3 | ||||
-rw-r--r-- | OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index 80cb623..f1399af 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -209,8 +209,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
209 | 209 | ||
210 | foreach (SceneObjectGroup grp in sp.GetAttachments()) | 210 | foreach (SceneObjectGroup grp in sp.GetAttachments()) |
211 | { | 211 | { |
212 | if (grp.IsDeleted) | 212 | sp.Scene.EventManager.TriggerOnScriptChangedEvent(grp.LocalId, (uint)Changed.TELEPORT); |
213 | sp.Scene.EventManager.TriggerOnScriptChangedEvent(grp.LocalId, (uint)Changed.TELEPORT); | ||
214 | } | 213 | } |
215 | } | 214 | } |
216 | else // Another region possibly in another simulator | 215 | else // Another region possibly in another simulator |
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs index 3c1b3e0..9a763ee 100644 --- a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs +++ b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | |||
@@ -464,7 +464,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap | |||
464 | mapitem.x = (uint)(xstart + x); | 464 | mapitem.x = (uint)(xstart + x); |
465 | mapitem.y = (uint)(ystart + y); | 465 | mapitem.y = (uint)(ystart + y); |
466 | // mapitem.z = (uint)m_scene.GetGroundHeight(x,y); | 466 | // mapitem.z = (uint)m_scene.GetGroundHeight(x,y); |
467 | mapitem.id = UUID.Zero; | 467 | mapitem.id = parcel.GlobalID; |
468 | mapitem.name = parcel.Name; | 468 | mapitem.name = parcel.Name; |
469 | mapitem.Extra = parcel.Area; | 469 | mapitem.Extra = parcel.Area; |
470 | mapitem.Extra2 = parcel.SalePrice; | 470 | mapitem.Extra2 = parcel.SalePrice; |
@@ -1291,7 +1291,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap | |||
1291 | responsemapdata["X"] = OSD.FromInteger((int)(xstart + x)); | 1291 | responsemapdata["X"] = OSD.FromInteger((int)(xstart + x)); |
1292 | responsemapdata["Y"] = OSD.FromInteger((int)(ystart + y)); | 1292 | responsemapdata["Y"] = OSD.FromInteger((int)(ystart + y)); |
1293 | // responsemapdata["Z"] = OSD.FromInteger((int)m_scene.GetGroundHeight(x,y)); | 1293 | // responsemapdata["Z"] = OSD.FromInteger((int)m_scene.GetGroundHeight(x,y)); |
1294 | responsemapdata["ID"] = OSD.FromUUID(UUID.Zero); | 1294 | responsemapdata["ID"] = OSD.FromUUID(parcel.GlobalID); |
1295 | responsemapdata["Name"] = OSD.FromString(parcel.Name); | 1295 | responsemapdata["Name"] = OSD.FromString(parcel.Name); |
1296 | responsemapdata["Extra"] = OSD.FromInteger(parcel.Area); | 1296 | responsemapdata["Extra"] = OSD.FromInteger(parcel.Area); |
1297 | responsemapdata["Extra2"] = OSD.FromInteger(parcel.SalePrice); | 1297 | responsemapdata["Extra2"] = OSD.FromInteger(parcel.SalePrice); |