diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 3165f4d..444a239 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -181,6 +181,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
181 | public UUID FromItemID; | 181 | public UUID FromItemID; |
182 | 182 | ||
183 | [XmlIgnore] | 183 | [XmlIgnore] |
184 | public UUID FromFolderID; | ||
185 | |||
186 | [XmlIgnore] | ||
184 | public int STATUS_ROTATE_X; | 187 | public int STATUS_ROTATE_X; |
185 | 188 | ||
186 | [XmlIgnore] | 189 | [XmlIgnore] |
@@ -4164,6 +4167,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
4164 | case 16: | 4167 | case 16: |
4165 | _nextOwnerMask = ApplyMask(_nextOwnerMask, set, mask) & | 4168 | _nextOwnerMask = ApplyMask(_nextOwnerMask, set, mask) & |
4166 | baseMask; | 4169 | baseMask; |
4170 | // Prevent the client from creating no mod, no copy | ||
4171 | // objects | ||
4172 | if ((_nextOwnerMask & (uint)PermissionMask.Copy) == 0) | ||
4173 | _nextOwnerMask |= (uint)PermissionMask.Transfer; | ||
4174 | |||
4175 | _nextOwnerMask |= (uint)PermissionMask.Move; | ||
4176 | |||
4167 | break; | 4177 | break; |
4168 | } | 4178 | } |
4169 | SendFullUpdateToAllClients(); | 4179 | SendFullUpdateToAllClients(); |