aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs6
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs4
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandObject.cs5
3 files changed, 14 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
index 80c0af8..f2b03e4 100644
--- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
@@ -290,7 +290,10 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
290 agentCircuit.child = true; 290 agentCircuit.child = true;
291 agentCircuit.Appearance = sp.Appearance; 291 agentCircuit.Appearance = sp.Appearance;
292 if (currentAgentCircuit != null) 292 if (currentAgentCircuit != null)
293 {
293 agentCircuit.ServiceURLs = currentAgentCircuit.ServiceURLs; 294 agentCircuit.ServiceURLs = currentAgentCircuit.ServiceURLs;
295 agentCircuit.Viewer = currentAgentCircuit.Viewer;
296 }
294 297
295 if (NeedsNewAgent(oldRegionX, newRegionX, oldRegionY, newRegionY)) 298 if (NeedsNewAgent(oldRegionX, newRegionX, oldRegionY, newRegionY))
296 { 299 {
@@ -986,7 +989,10 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
986 agent.child = true; 989 agent.child = true;
987 agent.Appearance = sp.Appearance; 990 agent.Appearance = sp.Appearance;
988 if (currentAgentCircuit != null) 991 if (currentAgentCircuit != null)
992 {
989 agent.ServiceURLs = currentAgentCircuit.ServiceURLs; 993 agent.ServiceURLs = currentAgentCircuit.ServiceURLs;
994 agent.Viewer = currentAgentCircuit.Viewer;
995 }
990 996
991 if (newRegions.Contains(neighbour.RegionHandle)) 997 if (newRegions.Contains(neighbour.RegionHandle))
992 { 998 {
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
index 5fe0e28..ae60c83 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
@@ -1200,6 +1200,10 @@ namespace OpenSim.Region.CoreModules.World.Land
1200 land.LandData.ClaimDate = Util.UnixTimeSinceEpoch(); 1200 land.LandData.ClaimDate = Util.UnixTimeSinceEpoch();
1201 land.LandData.GroupID = UUID.Zero; 1201 land.LandData.GroupID = UUID.Zero;
1202 land.LandData.IsGroupOwned = false; 1202 land.LandData.IsGroupOwned = false;
1203 land.LandData.SalePrice = 0;
1204 land.LandData.AuthBuyerID = UUID.Zero;
1205 land.LandData.Flags &= ~(uint) (ParcelFlags.ForSale | ParcelFlags.ForSaleObjects | ParcelFlags.SellParcelObjects | ParcelFlags.ShowDirectory);
1206
1203 m_scene.ForEachClient(SendParcelOverlay); 1207 m_scene.ForEachClient(SendParcelOverlay);
1204 land.SendLandUpdateToClient(true, remote_client); 1208 land.SendLandUpdateToClient(true, remote_client);
1205 } 1209 }
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
index aca5514..3945142 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
@@ -247,7 +247,7 @@ namespace OpenSim.Region.CoreModules.World.Land
247 newData.ClaimPrice = claimprice; 247 newData.ClaimPrice = claimprice;
248 newData.SalePrice = 0; 248 newData.SalePrice = 0;
249 newData.AuthBuyerID = UUID.Zero; 249 newData.AuthBuyerID = UUID.Zero;
250 newData.Flags &= ~(uint) (ParcelFlags.ForSale | ParcelFlags.ForSaleObjects | ParcelFlags.SellParcelObjects); 250 newData.Flags &= ~(uint) (ParcelFlags.ForSale | ParcelFlags.ForSaleObjects | ParcelFlags.SellParcelObjects | ParcelFlags.ShowDirectory);
251 m_scene.LandChannel.UpdateLandObject(LandData.LocalID, newData); 251 m_scene.LandChannel.UpdateLandObject(LandData.LocalID, newData);
252 252
253 SendLandUpdateToAvatarsOverMe(true); 253 SendLandUpdateToAvatarsOverMe(true);
@@ -260,6 +260,9 @@ namespace OpenSim.Region.CoreModules.World.Land
260 newData.GroupID = groupID; 260 newData.GroupID = groupID;
261 newData.IsGroupOwned = true; 261 newData.IsGroupOwned = true;
262 262
263 // Reset show in directory flag on deed
264 newData.Flags &= ~(uint) (ParcelFlags.ForSale | ParcelFlags.ForSaleObjects | ParcelFlags.SellParcelObjects | ParcelFlags.ShowDirectory);
265
263 m_scene.LandChannel.UpdateLandObject(LandData.LocalID, newData); 266 m_scene.LandChannel.UpdateLandObject(LandData.LocalID, newData);
264 267
265 SendLandUpdateToAvatarsOverMe(true); 268 SendLandUpdateToAvatarsOverMe(true);