aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/InnerScene.cs
diff options
context:
space:
mode:
authorMelanie Thielker2008-10-04 15:54:21 +0000
committerMelanie Thielker2008-10-04 15:54:21 +0000
commitc28e8fcd67fb284930a0cc0e2f2ac5c8f7df3bc3 (patch)
treed24ae6321e9a1299ac48ba32529e5da679616017 /OpenSim/Region/Environment/Scenes/InnerScene.cs
parentGuard against negative scale set through LSL functions (diff)
downloadopensim-SC-c28e8fcd67fb284930a0cc0e2f2ac5c8f7df3bc3.zip
opensim-SC-c28e8fcd67fb284930a0cc0e2f2ac5c8f7df3bc3.tar.gz
opensim-SC-c28e8fcd67fb284930a0cc0e2f2ac5c8f7df3bc3.tar.bz2
opensim-SC-c28e8fcd67fb284930a0cc0e2f2ac5c8f7df3bc3.tar.xz
Unclutter rezzing methods by removing the ad hoc permissions parameters.
Thise were client supplied untrusted values we never used anyway.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/InnerScene.cs7
1 files changed, 2 insertions, 5 deletions
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs
index 7ab0deb..f06b77f 100644
--- a/OpenSim/Region/Environment/Scenes/InnerScene.cs
+++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs
@@ -452,13 +452,10 @@ namespace OpenSim.Region.Environment.Scenes
452 } 452 }
453 453
454 public SceneObjectGroup RezSingleAttachment( 454 public SceneObjectGroup RezSingleAttachment(
455 IClientAPI remoteClient, UUID itemID, uint AttachmentPt,uint ItemFlags, uint NextOwnerMask) 455 IClientAPI remoteClient, UUID itemID, uint AttachmentPt)
456 { 456 {
457 SceneObjectGroup objatt = m_parentScene.RezObject(remoteClient, itemID, Vector3.Zero, Vector3.Zero, UUID.Zero, (byte)1, true, 457 SceneObjectGroup objatt = m_parentScene.RezObject(remoteClient, itemID, Vector3.Zero, Vector3.Zero, UUID.Zero, (byte)1, true,
458 (uint)(PermissionMask.Copy | PermissionMask.Move | PermissionMask.Modify | PermissionMask.Transfer), 458 false, false, remoteClient.AgentId, true);
459 (uint)(PermissionMask.Copy | PermissionMask.Move | PermissionMask.Modify | PermissionMask.Transfer),
460 (uint)(PermissionMask.Copy | PermissionMask.Move | PermissionMask.Modify | PermissionMask.Transfer),
461 ItemFlags, false, false, remoteClient.AgentId, true);
462 459
463 if (objatt != null) 460 if (objatt != null)
464 { 461 {