From a4431381fa8a4f759a9c7eb9e30ae915504d4fdc Mon Sep 17 00:00:00 2001
From: Diva Canto
Date: Sat, 11 May 2013 07:58:14 -0700
Subject: Finalize the logic for SetHome. See comments in
Land/LandManagementModule.cs about who has permission to set home where.
---
OpenSim/Region/Framework/Scenes/Scene.cs | 19 -------------------
1 file changed, 19 deletions(-)
(limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 80c4922..6bbcbd7 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -3090,7 +3090,6 @@ namespace OpenSim.Region.Framework.Scenes
{
//client.OnNameFromUUIDRequest += HandleUUIDNameRequest;
client.OnMoneyTransferRequest += ProcessMoneyTransferRequest;
- client.OnSetStartLocationRequest += SetHomeRezPoint;
client.OnRegionHandleRequest += RegionHandleRequest;
}
@@ -3215,7 +3214,6 @@ namespace OpenSim.Region.Framework.Scenes
{
//client.OnNameFromUUIDRequest -= HandleUUIDNameRequest;
client.OnMoneyTransferRequest -= ProcessMoneyTransferRequest;
- client.OnSetStartLocationRequest -= SetHomeRezPoint;
client.OnRegionHandleRequest -= RegionHandleRequest;
}
@@ -3342,23 +3340,6 @@ namespace OpenSim.Region.Framework.Scenes
}
///
- /// Sets the Home Point. The LoginService uses this to know where to put a user when they log-in
- ///
- ///
- ///
- ///
- ///
- ///
- public virtual void SetHomeRezPoint(IClientAPI remoteClient, ulong regionHandle, Vector3 position, Vector3 lookAt, uint flags)
- {
- if (GridUserService != null && GridUserService.SetHome(remoteClient.AgentId.ToString(), RegionInfo.RegionID, position, lookAt))
- // FUBAR ALERT: this needs to be "Home position set." so the viewer saves a home-screenshot.
- m_dialogModule.SendAlertToUser(remoteClient, "Home position set.");
- else
- m_dialogModule.SendAlertToUser(remoteClient, "Set Home request Failed.");
- }
-
- ///
/// Get the avatar apperance for the given client.
///
///
--
cgit v1.1