aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2016-07-03 19:49:53 +0100
committerUbitUmarov2016-07-03 19:51:07 +0100
commitb3d8e35d67f40821ece0ffac5d3e46a7155b0a9e (patch)
tree9960c24df3d16e6a6a3531966a8ae74f28f2a7f6
parentfix a lost region size of 256m (diff)
downloadopensim-SC-b3d8e35d67f40821ece0ffac5d3e46a7155b0a9e.zip
opensim-SC-b3d8e35d67f40821ece0ffac5d3e46a7155b0a9e.tar.gz
opensim-SC-b3d8e35d67f40821ece0ffac5d3e46a7155b0a9e.tar.bz2
opensim-SC-b3d8e35d67f40821ece0ffac5d3e46a7155b0a9e.tar.xz
dont try to check CanObjectEntry on a attachment in llSetPos()
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 32b3bb7..064eb0a 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -2680,7 +2680,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2680 if (part.ParentGroup.RootPart == part) 2680 if (part.ParentGroup.RootPart == part)
2681 { 2681 {
2682 SceneObjectGroup parent = part.ParentGroup; 2682 SceneObjectGroup parent = part.ParentGroup;
2683 if (!World.Permissions.CanObjectEntry(parent.UUID, false, (Vector3)toPos)) 2683 if (!parent.IsAttachment && !World.Permissions.CanObjectEntry(parent.UUID, false, (Vector3)toPos))
2684 return; 2684 return;
2685 parent.UpdateGroupPosition((Vector3)toPos); 2685 parent.UpdateGroupPosition((Vector3)toPos);
2686 } 2686 }