diff options
author | UbitUmarov | 2016-07-03 19:49:53 +0100 |
---|---|---|
committer | UbitUmarov | 2016-07-03 19:51:07 +0100 |
commit | b3d8e35d67f40821ece0ffac5d3e46a7155b0a9e (patch) | |
tree | 9960c24df3d16e6a6a3531966a8ae74f28f2a7f6 | |
parent | fix a lost region size of 256m (diff) | |
download | opensim-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.cs | 2 |
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 | } |