diff options
author | ubit | 2012-12-18 11:09:53 +0100 |
---|---|---|
committer | ubit | 2012-12-18 11:09:53 +0100 |
commit | 021485b58100916dedc41766c02414889cd8f5f0 (patch) | |
tree | 409520f07e5141b3510e3755df2f38cdc5375edd /OpenSim/Region | |
parent | Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork (diff) | |
parent | Merge branch 'avination' into ubitwork (diff) | |
download | opensim-SC-021485b58100916dedc41766c02414889cd8f5f0.zip opensim-SC-021485b58100916dedc41766c02414889cd8f5f0.tar.gz opensim-SC-021485b58100916dedc41766c02414889cd8f5f0.tar.bz2 opensim-SC-021485b58100916dedc41766c02414889cd8f5f0.tar.xz |
Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs index 6b33561..908f628 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs | |||
@@ -377,7 +377,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
377 | protocol = "https"; | 377 | protocol = "https"; |
378 | } | 378 | } |
379 | caps.RegisterHandler("GetMesh", String.Format("{0}://{1}:{2}{3}", protocol, hostName, port, capUrl)); | 379 | caps.RegisterHandler("GetMesh", String.Format("{0}://{1}:{2}{3}", protocol, hostName, port, capUrl)); |
380 | m_pollservices.Add(agentID, args); | 380 | m_pollservices[agentID] = args; |
381 | m_capsDict[agentID] = capUrl; | 381 | m_capsDict[agentID] = capUrl; |
382 | 382 | ||
383 | 383 | ||
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs index dd87671..d4dbfb9 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs | |||
@@ -333,7 +333,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
333 | protocol = "https"; | 333 | protocol = "https"; |
334 | } | 334 | } |
335 | caps.RegisterHandler("GetTexture", String.Format("{0}://{1}:{2}{3}", protocol, hostName, port, capUrl)); | 335 | caps.RegisterHandler("GetTexture", String.Format("{0}://{1}:{2}{3}", protocol, hostName, port, capUrl)); |
336 | m_pollservices.Add(agentID, args); | 336 | m_pollservices[agentID] = args; |
337 | m_capsDict[agentID] = capUrl; | 337 | m_capsDict[agentID] = capUrl; |
338 | } | 338 | } |
339 | 339 | ||
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index b9f9c86..4ad8b11 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -3449,7 +3449,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
3449 | part.ClonePermissions(RootPart); | 3449 | part.ClonePermissions(RootPart); |
3450 | }); | 3450 | }); |
3451 | 3451 | ||
3452 | RootPart.OwnerMask = newOwnerMask | foldedPerms; | 3452 | uint lockMask = ~(uint)PermissionMask.Move; |
3453 | uint lockBit = RootPart.OwnerMask & (uint)PermissionMask.Move; | ||
3454 | RootPart.OwnerMask = (RootPart.OwnerMask & lockBit) | ((newOwnerMask | foldedPerms) & lockMask); | ||
3453 | RootPart.ScheduleFullUpdate(); | 3455 | RootPart.ScheduleFullUpdate(); |
3454 | } | 3456 | } |
3455 | 3457 | ||