diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework/InventoryAccess')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs index 66fbcb9..b714f2b 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | |||
@@ -810,18 +810,20 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
810 | // | 810 | // |
811 | if (((item.CurrentPermissions & (uint)PermissionMask.Copy) == 0) && (!attachment)) | 811 | if (((item.CurrentPermissions & (uint)PermissionMask.Copy) == 0) && (!attachment)) |
812 | remoteClient.SendBulkUpdateInventory(item); | 812 | remoteClient.SendBulkUpdateInventory(item); |
813 | |||
813 | return null; | 814 | return null; |
814 | } | 815 | } |
815 | 816 | ||
816 | for (int i = 0 ; i < objlist.Count ; i++ ) | 817 | for (int i = 0 ; i < objlist.Count; i++) |
817 | { | 818 | { |
818 | group = objlist[i]; | 819 | group = objlist[i]; |
819 | 820 | ||
820 | Vector3 storedPosition = group.AbsolutePosition; | 821 | // Vector3 storedPosition = group.AbsolutePosition; |
821 | if (group.UUID == UUID.Zero) | 822 | if (group.UUID == UUID.Zero) |
822 | { | 823 | { |
823 | m_log.Debug("[InventoryAccessModule]: Inventory object has UUID.Zero! Position 3"); | 824 | m_log.Debug("[InventoryAccessModule]: Inventory object has UUID.Zero! Position 3"); |
824 | } | 825 | } |
826 | |||
825 | group.RootPart.FromFolderID = item.Folder; | 827 | group.RootPart.FromFolderID = item.Folder; |
826 | 828 | ||
827 | // If it's rezzed in world, select it. Much easier to | 829 | // If it's rezzed in world, select it. Much easier to |
@@ -833,6 +835,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
833 | foreach (SceneObjectPart child in group.Parts) | 835 | foreach (SceneObjectPart child in group.Parts) |
834 | child.CreateSelected = true; | 836 | child.CreateSelected = true; |
835 | } | 837 | } |
838 | |||
836 | group.ResetIDs(); | 839 | group.ResetIDs(); |
837 | 840 | ||
838 | if (attachment) | 841 | if (attachment) |