diff options
author | David Walter Seikel | 2016-11-07 12:51:37 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-11-07 12:51:37 +1000 |
commit | cae513f3ed4adfbc1630206f4b3d02461ec063ad (patch) | |
tree | ac4fec24a7fdf79ff2d56d5a9d5d2b533d7f6ea7 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |
parent | More caches directory fixes, including moving console history there. (diff) | |
download | opensim-SC_OLD-cae513f3ed4adfbc1630206f4b3d02461ec063ad.zip opensim-SC_OLD-cae513f3ed4adfbc1630206f4b3d02461ec063ad.tar.gz opensim-SC_OLD-cae513f3ed4adfbc1630206f4b3d02461ec063ad.tar.bz2 opensim-SC_OLD-cae513f3ed4adfbc1630206f4b3d02461ec063ad.tar.xz |
Remove silly rezzing distance limits. They just make scripters work around them.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index c195405..0b60aee 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -2278,8 +2278,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2278 | pos.x < -10.0 || // return FALSE if more than 10 meters into a west-adjacent region. | 2278 | pos.x < -10.0 || // return FALSE if more than 10 meters into a west-adjacent region. |
2279 | pos.x > (World.RegionInfo.RegionSizeX + 10) || // return FALSE if more than 10 meters into a east-adjacent region. | 2279 | pos.x > (World.RegionInfo.RegionSizeX + 10) || // return FALSE if more than 10 meters into a east-adjacent region. |
2280 | pos.y < -10.0 || // return FALSE if more than 10 meters into a south-adjacent region. | 2280 | pos.y < -10.0 || // return FALSE if more than 10 meters into a south-adjacent region. |
2281 | pos.y > (World.RegionInfo.RegionSizeY + 10) || // return FALSE if more than 10 meters into a north-adjacent region. | 2281 | pos.y > (World.RegionInfo.RegionSizeY + 10) // return FALSE if more than 10 meters into a north-adjacent region. |
2282 | pos.z > Constants.RegionHeight // return FALSE if altitude than 4096m | ||
2283 | ) | 2282 | ) |
2284 | ) | 2283 | ) |
2285 | { | 2284 | { |
@@ -3099,9 +3098,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3099 | 3098 | ||
3100 | float dist = (float)llVecDist(llGetPos(), pos); | 3099 | float dist = (float)llVecDist(llGetPos(), pos); |
3101 | 3100 | ||
3102 | if (dist > m_ScriptDistanceFactor * 10.0f) | ||
3103 | return; | ||
3104 | |||
3105 | TaskInventoryItem item = m_host.Inventory.GetInventoryItem(inventory); | 3101 | TaskInventoryItem item = m_host.Inventory.GetInventoryItem(inventory); |
3106 | 3102 | ||
3107 | if (item == null) | 3103 | if (item == null) |