aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorMelanie2012-08-24 00:07:56 +0100
committerMelanie2012-08-24 00:07:56 +0100
commit7fca69222b76684c50db42f3ec268ea073122a87 (patch)
tree3510af7d29996bd244b74ffa89ec3205c41b4077 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentMerge branch 'master' into careminster (diff)
parentFix bad child prim permissions that can make objects change perms after rezzing (diff)
downloadopensim-SC_OLD-7fca69222b76684c50db42f3ec268ea073122a87.zip
opensim-SC_OLD-7fca69222b76684c50db42f3ec268ea073122a87.tar.gz
opensim-SC_OLD-7fca69222b76684c50db42f3ec268ea073122a87.tar.bz2
opensim-SC_OLD-7fca69222b76684c50db42f3ec268ea073122a87.tar.xz
Merge branch 'avination' into careminster
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index af06250..4ed3413 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -4503,6 +4503,27 @@ namespace OpenSim.Region.Framework.Scenes
4503 } 4503 }
4504 } 4504 }
4505 4505
4506 public void ClonePermissions(SceneObjectPart source)
4507 {
4508 bool update = false;
4509
4510 if (BaseMask != source.BaseMask ||
4511 OwnerMask != source.OwnerMask ||
4512 GroupMask != source.GroupMask ||
4513 EveryoneMask != source.EveryoneMask ||
4514 NextOwnerMask != source.NextOwnerMask)
4515 update = true;
4516
4517 BaseMask = source.BaseMask;
4518 OwnerMask = source.OwnerMask;
4519 GroupMask = source.GroupMask;
4520 EveryoneMask = source.EveryoneMask;
4521 NextOwnerMask = source.NextOwnerMask;
4522
4523 if (update)
4524 SendFullUpdateToAllClients();
4525 }
4526
4506 public bool IsHingeJoint() 4527 public bool IsHingeJoint()
4507 { 4528 {
4508 // For now, we use the NINJA naming scheme for identifying joints. 4529 // For now, we use the NINJA naming scheme for identifying joints.