diff options
author | Dan Lake | 2011-07-11 12:23:20 -0700 |
---|---|---|
committer | Dan Lake | 2011-07-11 12:23:20 -0700 |
commit | b9cbe92f30c97d6b402be73c8c6fd8e6894ef05a (patch) | |
tree | 8fd2fa4567e2882e7f5dafdb8cf1de571917f23a /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Checkin 32 bit bulletsim shared library for Linux. (diff) | |
parent | minor Tack the prim name on the end of the "experimental mesh proxy generatio... (diff) | |
download | opensim-SC-b9cbe92f30c97d6b402be73c8c6fd8e6894ef05a.zip opensim-SC-b9cbe92f30c97d6b402be73c8c6fd8e6894ef05a.tar.gz opensim-SC-b9cbe92f30c97d6b402be73c8c6fd8e6894ef05a.tar.bz2 opensim-SC-b9cbe92f30c97d6b402be73c8c6fd8e6894ef05a.tar.xz |
Merge branch 'master' into bulletsim
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index bdf3d1d..8195a0d 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -583,6 +583,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
583 | m_asyncSceneObjectDeleter = new AsyncSceneObjectGroupDeleter(this); | 583 | m_asyncSceneObjectDeleter = new AsyncSceneObjectGroupDeleter(this); |
584 | m_asyncSceneObjectDeleter.Enabled = true; | 584 | m_asyncSceneObjectDeleter.Enabled = true; |
585 | 585 | ||
586 | m_asyncInventorySender = new AsyncInventorySender(this); | ||
587 | |||
586 | #region Region Settings | 588 | #region Region Settings |
587 | 589 | ||
588 | // Load region settings | 590 | // Load region settings |
@@ -1724,6 +1726,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1724 | /// <summary> | 1726 | /// <summary> |
1725 | /// Loads the World's objects | 1727 | /// Loads the World's objects |
1726 | /// </summary> | 1728 | /// </summary> |
1729 | /// <param name="regionID"></param> | ||
1727 | public virtual void LoadPrimsFromStorage(UUID regionID) | 1730 | public virtual void LoadPrimsFromStorage(UUID regionID) |
1728 | { | 1731 | { |
1729 | LoadingPrims = true; | 1732 | LoadingPrims = true; |
@@ -2593,8 +2596,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
2593 | { | 2596 | { |
2594 | string homeURL = string.Empty; | 2597 | string homeURL = string.Empty; |
2595 | string first = aCircuit.firstname, last = aCircuit.lastname; | 2598 | string first = aCircuit.firstname, last = aCircuit.lastname; |
2599 | |||
2596 | if (aCircuit.ServiceURLs.ContainsKey("HomeURI")) | 2600 | if (aCircuit.ServiceURLs.ContainsKey("HomeURI")) |
2597 | homeURL = aCircuit.ServiceURLs["HomeURI"].ToString(); | 2601 | homeURL = aCircuit.ServiceURLs["HomeURI"].ToString(); |
2602 | |||
2598 | if (aCircuit.lastname.StartsWith("@")) | 2603 | if (aCircuit.lastname.StartsWith("@")) |
2599 | { | 2604 | { |
2600 | string[] parts = aCircuit.firstname.Split('.'); | 2605 | string[] parts = aCircuit.firstname.Split('.'); |
@@ -2604,6 +2609,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2604 | last = parts[1]; | 2609 | last = parts[1]; |
2605 | } | 2610 | } |
2606 | } | 2611 | } |
2612 | |||
2607 | uMan.AddUser(aCircuit.AgentID, first, last, homeURL); | 2613 | uMan.AddUser(aCircuit.AgentID, first, last, homeURL); |
2608 | } | 2614 | } |
2609 | } | 2615 | } |
@@ -2757,14 +2763,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
2757 | 2763 | ||
2758 | public virtual void SubscribeToClientInventoryEvents(IClientAPI client) | 2764 | public virtual void SubscribeToClientInventoryEvents(IClientAPI client) |
2759 | { | 2765 | { |
2760 | |||
2761 | client.OnLinkInventoryItem += HandleLinkInventoryItem; | 2766 | client.OnLinkInventoryItem += HandleLinkInventoryItem; |
2762 | client.OnCreateNewInventoryFolder += HandleCreateInventoryFolder; | 2767 | client.OnCreateNewInventoryFolder += HandleCreateInventoryFolder; |
2763 | client.OnUpdateInventoryFolder += HandleUpdateInventoryFolder; | 2768 | client.OnUpdateInventoryFolder += HandleUpdateInventoryFolder; |
2764 | client.OnMoveInventoryFolder += HandleMoveInventoryFolder; // 2; //!! | 2769 | client.OnMoveInventoryFolder += HandleMoveInventoryFolder; // 2; //!! |
2765 | client.OnFetchInventoryDescendents += HandleFetchInventoryDescendents; | 2770 | client.OnFetchInventoryDescendents += HandleFetchInventoryDescendents; |
2766 | client.OnPurgeInventoryDescendents += HandlePurgeInventoryDescendents; // 2; //!! | 2771 | client.OnPurgeInventoryDescendents += HandlePurgeInventoryDescendents; // 2; //!! |
2767 | client.OnFetchInventory += HandleFetchInventory; | 2772 | client.OnFetchInventory += m_asyncInventorySender.HandleFetchInventory; |
2768 | client.OnUpdateInventoryItem += UpdateInventoryItemAsset; | 2773 | client.OnUpdateInventoryItem += UpdateInventoryItemAsset; |
2769 | client.OnCopyInventoryItem += CopyInventoryItem; | 2774 | client.OnCopyInventoryItem += CopyInventoryItem; |
2770 | client.OnMoveInventoryItem += MoveInventoryItem; | 2775 | client.OnMoveInventoryItem += MoveInventoryItem; |
@@ -2883,13 +2888,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
2883 | 2888 | ||
2884 | public virtual void UnSubscribeToClientInventoryEvents(IClientAPI client) | 2889 | public virtual void UnSubscribeToClientInventoryEvents(IClientAPI client) |
2885 | { | 2890 | { |
2886 | |||
2887 | client.OnCreateNewInventoryFolder -= HandleCreateInventoryFolder; | 2891 | client.OnCreateNewInventoryFolder -= HandleCreateInventoryFolder; |
2888 | client.OnUpdateInventoryFolder -= HandleUpdateInventoryFolder; | 2892 | client.OnUpdateInventoryFolder -= HandleUpdateInventoryFolder; |
2889 | client.OnMoveInventoryFolder -= HandleMoveInventoryFolder; // 2; //!! | 2893 | client.OnMoveInventoryFolder -= HandleMoveInventoryFolder; // 2; //!! |
2890 | client.OnFetchInventoryDescendents -= HandleFetchInventoryDescendents; | 2894 | client.OnFetchInventoryDescendents -= HandleFetchInventoryDescendents; |
2891 | client.OnPurgeInventoryDescendents -= HandlePurgeInventoryDescendents; // 2; //!! | 2895 | client.OnPurgeInventoryDescendents -= HandlePurgeInventoryDescendents; // 2; //!! |
2892 | client.OnFetchInventory -= HandleFetchInventory; | 2896 | client.OnFetchInventory -= m_asyncInventorySender.HandleFetchInventory; |
2893 | client.OnUpdateInventoryItem -= UpdateInventoryItemAsset; | 2897 | client.OnUpdateInventoryItem -= UpdateInventoryItemAsset; |
2894 | client.OnCopyInventoryItem -= CopyInventoryItem; | 2898 | client.OnCopyInventoryItem -= CopyInventoryItem; |
2895 | client.OnMoveInventoryItem -= MoveInventoryItem; | 2899 | client.OnMoveInventoryItem -= MoveInventoryItem; |
@@ -3389,7 +3393,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
3389 | } | 3393 | } |
3390 | } | 3394 | } |
3391 | 3395 | ||
3392 | |||
3393 | // In all cases, add or update the circuit data with the new agent circuit data and teleport flags | 3396 | // In all cases, add or update the circuit data with the new agent circuit data and teleport flags |
3394 | agent.teleportFlags = teleportFlags; | 3397 | agent.teleportFlags = teleportFlags; |
3395 | m_authenticateHandler.AddNewCircuit(agent.circuitcode, agent); | 3398 | m_authenticateHandler.AddNewCircuit(agent.circuitcode, agent); |