aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorMelanie2010-10-13 08:24:18 +0200
committerMelanie2010-10-13 08:24:18 +0200
commit3eb68c319e1211bf0d4e251931f23d44ac88e63e (patch)
treeed49ae8bcb4a933d03cc52b0338d1172341c9192 /OpenSim/Region/Framework/Scenes
parentMerge branch 'careminster-presence-refactor' of ssh://melanie@3dhosting.de/va... (diff)
downloadopensim-SC-3eb68c319e1211bf0d4e251931f23d44ac88e63e.zip
opensim-SC-3eb68c319e1211bf0d4e251931f23d44ac88e63e.tar.gz
opensim-SC-3eb68c319e1211bf0d4e251931f23d44ac88e63e.tar.bz2
opensim-SC-3eb68c319e1211bf0d4e251931f23d44ac88e63e.tar.xz
change default next owner persm to mod/trans to match SL.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 726bda1..f0740f8 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -443,7 +443,7 @@ namespace OpenSim.Region.Framework.Scenes
443 private uint _ownerMask = (uint)PermissionMask.All; 443 private uint _ownerMask = (uint)PermissionMask.All;
444 private uint _groupMask = (uint)PermissionMask.None; 444 private uint _groupMask = (uint)PermissionMask.None;
445 private uint _everyoneMask = (uint)PermissionMask.None; 445 private uint _everyoneMask = (uint)PermissionMask.None;
446 private uint _nextOwnerMask = (uint)PermissionMask.All; 446 private uint _nextOwnerMask = (uint)(PermissionMask.Move | PermissionMask.Modify | PermissionMask.Transfer);
447 private PrimFlags _flags = PrimFlags.None; 447 private PrimFlags _flags = PrimFlags.None;
448 private DateTime m_expires; 448 private DateTime m_expires;
449 private DateTime m_rezzed; 449 private DateTime m_rezzed;
@@ -1668,6 +1668,9 @@ namespace OpenSim.Region.Framework.Scenes
1668 1668
1669 // Move afterwards ResetIDs as it clears the localID 1669 // Move afterwards ResetIDs as it clears the localID
1670 dupe.LocalId = localID; 1670 dupe.LocalId = localID;
1671 if(dupe.PhysActor != null)
1672 dupe.PhysActor.LocalID = localID;
1673
1671 // This may be wrong... it might have to be applied in SceneObjectGroup to the object that's being duplicated. 1674 // This may be wrong... it might have to be applied in SceneObjectGroup to the object that's being duplicated.
1672 dupe._lastOwnerID = OwnerID; 1675 dupe._lastOwnerID = OwnerID;
1673 1676