diff options
author | Melanie | 2012-02-10 10:20:51 +0000 |
---|---|---|
committer | Melanie | 2012-02-10 10:20:51 +0000 |
commit | 215acbcc9667077fc665be6d5f81c66cf989891e (patch) | |
tree | 291a607c6fd648b3488d6cc8f05a84ff4f134446 /OpenSim/Region/CoreModules/Framework | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Fix: Unable to remove AV from friend list (sqldb-bug) http://opensimulator.or... (diff) | |
download | opensim-SC-215acbcc9667077fc665be6d5f81c66cf989891e.zip opensim-SC-215acbcc9667077fc665be6d5f81c66cf989891e.tar.gz opensim-SC-215acbcc9667077fc665be6d5f81c66cf989891e.tar.bz2 opensim-SC-215acbcc9667077fc665be6d5f81c66cf989891e.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs index fe75271..a47bc9a 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | |||
@@ -830,6 +830,12 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
830 | group = objlist[i]; | 830 | group = objlist[i]; |
831 | SceneObjectPart rootPart = group.RootPart; | 831 | SceneObjectPart rootPart = group.RootPart; |
832 | 832 | ||
833 | // m_log.DebugFormat( | ||
834 | // "[InventoryAccessModule]: Preparing to rez {0} {1} {2} ownermask={3:X} nextownermask={4:X} groupmask={5:X} everyonemask={6:X} for {7}", | ||
835 | // group.Name, group.LocalId, group.UUID, | ||
836 | // group.RootPart.OwnerMask, group.RootPart.NextOwnerMask, group.RootPart.GroupMask, group.RootPart.EveryoneMask, | ||
837 | // remoteClient.Name); | ||
838 | |||
833 | // Vector3 storedPosition = group.AbsolutePosition; | 839 | // Vector3 storedPosition = group.AbsolutePosition; |
834 | if (group.UUID == UUID.Zero) | 840 | if (group.UUID == UUID.Zero) |
835 | { | 841 | { |
@@ -892,6 +898,12 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
892 | 898 | ||
893 | rootPart.ScheduleFullUpdate(); | 899 | rootPart.ScheduleFullUpdate(); |
894 | } | 900 | } |
901 | |||
902 | // m_log.DebugFormat( | ||
903 | // "[InventoryAccessModule]: Rezzed {0} {1} {2} ownermask={3:X} nextownermask={4:X} groupmask={5:X} everyonemask={6:X} for {7}", | ||
904 | // group.Name, group.LocalId, group.UUID, | ||
905 | // group.RootPart.OwnerMask, group.RootPart.NextOwnerMask, group.RootPart.GroupMask, group.RootPart.EveryoneMask, | ||
906 | // remoteClient.Name); | ||
895 | } | 907 | } |
896 | 908 | ||
897 | group.SetGroup(remoteClient.ActiveGroupId, remoteClient); | 909 | group.SetGroup(remoteClient.ActiveGroupId, remoteClient); |
@@ -958,7 +970,10 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
958 | } | 970 | } |
959 | 971 | ||
960 | rootPart.FromFolderID = item.Folder; | 972 | rootPart.FromFolderID = item.Folder; |
961 | 973 | ||
974 | // Console.WriteLine("rootPart.OwnedID {0}, item.Owner {1}, item.CurrentPermissions {2:X}", | ||
975 | // rootPart.OwnerID, item.Owner, item.CurrentPermissions); | ||
976 | |||
962 | if ((rootPart.OwnerID != item.Owner) || | 977 | if ((rootPart.OwnerID != item.Owner) || |
963 | (item.CurrentPermissions & 16) != 0 || | 978 | (item.CurrentPermissions & 16) != 0 || |
964 | (item.Flags & (uint)InventoryItemFlags.ObjectSlamPerm) != 0) | 979 | (item.Flags & (uint)InventoryItemFlags.ObjectSlamPerm) != 0) |