aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
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 2a9ee3a..411dcc7 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -3890,6 +3890,27 @@ namespace OpenSim.Region.Framework.Scenes
3890 } 3890 }
3891 } 3891 }
3892 3892
3893 public void ClonePermissions(SceneObjectPart source)
3894 {
3895 bool update = false;
3896
3897 if (BaseMask != source.BaseMask ||
3898 OwnerMask != source.OwnerMask ||
3899 GroupMask != source.GroupMask ||
3900 EveryoneMask != source.EveryoneMask ||
3901 NextOwnerMask != source.NextOwnerMask)
3902 update = true;
3903
3904 BaseMask = source.BaseMask;
3905 OwnerMask = source.OwnerMask;
3906 GroupMask = source.GroupMask;
3907 EveryoneMask = source.EveryoneMask;
3908 NextOwnerMask = source.NextOwnerMask;
3909
3910 if (update)
3911 SendFullUpdateToAllClients();
3912 }
3913
3893 public bool IsHingeJoint() 3914 public bool IsHingeJoint()
3894 { 3915 {
3895 // For now, we use the NINJA naming scheme for identifying joints. 3916 // For now, we use the NINJA naming scheme for identifying joints.