diff options
author | Melanie | 2013-05-01 21:39:49 +0100 |
---|---|---|
committer | Melanie | 2013-05-01 21:39:49 +0100 |
commit | 8c5445b774c602a13a7b49db1630b5f9fb9ff438 (patch) | |
tree | 6e829d2903b589c0c703793fb804632ea2324d62 /OpenSim/Region/CoreModules | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC_OLD-8c5445b774c602a13a7b49db1630b5f9fb9ff438.zip opensim-SC_OLD-8c5445b774c602a13a7b49db1630b5f9fb9ff438.tar.gz opensim-SC_OLD-8c5445b774c602a13a7b49db1630b5f9fb9ff438.tar.bz2 opensim-SC_OLD-8c5445b774c602a13a7b49db1630b5f9fb9ff438.tar.xz |
Merge branch 'master' into careminster
Conflicts:
ThirdParty/SmartThreadPool/SmartThreadPool.cs
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/Caps/CapabilitiesModule.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/Caps/CapabilitiesModule.cs b/OpenSim/Region/CoreModules/Framework/Caps/CapabilitiesModule.cs index 2eb9bfb..fff86d5 100644 --- a/OpenSim/Region/CoreModules/Framework/Caps/CapabilitiesModule.cs +++ b/OpenSim/Region/CoreModules/Framework/Caps/CapabilitiesModule.cs | |||
@@ -252,7 +252,7 @@ namespace OpenSim.Region.CoreModules.Framework | |||
252 | { | 252 | { |
253 | caps.AppendFormat("** Circuit {0}:\n", kvp.Key); | 253 | caps.AppendFormat("** Circuit {0}:\n", kvp.Key); |
254 | 254 | ||
255 | for (IDictionaryEnumerator kvp2 = kvp.Value.CapsHandlers.GetCapsDetails(false).GetEnumerator(); kvp2.MoveNext(); ) | 255 | for (IDictionaryEnumerator kvp2 = kvp.Value.CapsHandlers.GetCapsDetails(false, null).GetEnumerator(); kvp2.MoveNext(); ) |
256 | { | 256 | { |
257 | Uri uri = new Uri(kvp2.Value.ToString()); | 257 | Uri uri = new Uri(kvp2.Value.ToString()); |
258 | caps.AppendFormat(m_showCapsCommandFormat, kvp2.Key, uri.PathAndQuery); | 258 | caps.AppendFormat(m_showCapsCommandFormat, kvp2.Key, uri.PathAndQuery); |
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs index bbe7446..1d762c4 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | |||
@@ -676,11 +676,12 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
676 | } | 676 | } |
677 | else | 677 | else |
678 | { | 678 | { |
679 | if (remoteClient == null || so.OwnerID != remoteClient.AgentId) | 679 | if (remoteClient == null || so.RootPart.OwnerID != remoteClient.AgentId) |
680 | { | 680 | { |
681 | // Taking copy of another person's item. Take to | 681 | // Taking copy of another person's item. Take to |
682 | // Objects folder. | 682 | // Objects folder. |
683 | folder = m_Scene.InventoryService.GetFolderForType(userID, AssetType.Object); | 683 | folder = m_Scene.InventoryService.GetFolderForType(userID, AssetType.Object); |
684 | so.FromFolderID = UUID.Zero; | ||
684 | } | 685 | } |
685 | else | 686 | else |
686 | { | 687 | { |
@@ -696,7 +697,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
696 | // | 697 | // |
697 | if (action == DeRezAction.Take || action == DeRezAction.TakeCopy) | 698 | if (action == DeRezAction.Take || action == DeRezAction.TakeCopy) |
698 | { | 699 | { |
699 | if (so.FromFolderID != UUID.Zero && userID == remoteClient.AgentId) | 700 | if (so.FromFolderID != UUID.Zero && so.RootPart.OwnerID == remoteClient.AgentId) |
700 | { | 701 | { |
701 | InventoryFolderBase f = new InventoryFolderBase(so.FromFolderID, userID); | 702 | InventoryFolderBase f = new InventoryFolderBase(so.FromFolderID, userID); |
702 | if (f != null) | 703 | if (f != null) |