diff options
Making sure my local working copy is in sync with svn before I start the job of enabling the new SceneObject classes.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 19fd075..813308b 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -75,6 +75,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
75 | 75 | ||
76 | #region Properties | 76 | #region Properties |
77 | 77 | ||
78 | public AgentCircuitManager AuthenticateHandler | ||
79 | { | ||
80 | get { return this.authenticateHandler; } | ||
81 | } | ||
78 | /// <summary> | 82 | /// <summary> |
79 | /// | 83 | /// |
80 | /// </summary> | 84 | /// </summary> |
@@ -600,7 +604,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
600 | 604 | ||
601 | client.OnEstateOwnerMessage += new EstateOwnerMessageRequest(m_estateManager.handleEstateOwnerMessage); | 605 | client.OnEstateOwnerMessage += new EstateOwnerMessageRequest(m_estateManager.handleEstateOwnerMessage); |
602 | 606 | ||
603 | // client.OnCreateNewInventoryItem += CreateNewInventoryItem; | 607 | //client.OnCreateNewInventoryItem += CreateNewInventoryItem; |
604 | //client.OnCreateNewInventoryFolder += commsManager.UserProfiles.HandleCreateInventoryFolder; | 608 | //client.OnCreateNewInventoryFolder += commsManager.UserProfiles.HandleCreateInventoryFolder; |
605 | client.OnFetchInventoryDescendents += commsManager.UserProfiles.HandleFecthInventoryDescendents; | 609 | client.OnFetchInventoryDescendents += commsManager.UserProfiles.HandleFecthInventoryDescendents; |
606 | client.OnRequestTaskInventory += RequestTaskInventory; | 610 | client.OnRequestTaskInventory += RequestTaskInventory; |
@@ -922,7 +926,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
922 | commsManager.InterRegion.InformRegionOfChildAgent(regionHandle, agent); | 926 | commsManager.InterRegion.InformRegionOfChildAgent(regionHandle, agent); |
923 | commsManager.InterRegion.ExpectAvatarCrossing(regionHandle, remoteClient.AgentId, position, false); | 927 | commsManager.InterRegion.ExpectAvatarCrossing(regionHandle, remoteClient.AgentId, position, false); |
924 | 928 | ||
925 | remoteClient.SendRegionTeleport(regionHandle, 13, reg.ExternalEndPoint, 4, (1 << 4)); | 929 | //TODO: following line is hard coded to port 9000, really need to change this as soon as possible |
930 | AgentCircuitData circuitdata = remoteClient.RequestClientInfo(); | ||
931 | string capsPath = "http://" + reg.ExternalEndPoint.Address.ToString() + ":9000/CAPS/" + this.AuthenticateHandler.AgentCircuits[circuitdata.circuitcode].CapsPath + "0000/"; | ||
932 | remoteClient.SendRegionTeleport(regionHandle, 13, reg.ExternalEndPoint, 4, (1 << 4), capsPath); | ||
926 | } | 933 | } |
927 | } | 934 | } |
928 | } | 935 | } |