aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-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