aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie Thielker2009-07-14 22:10:46 +0000
committerMelanie Thielker2009-07-14 22:10:46 +0000
commite53596f6070cb10d04ebc79bf556a43bce435807 (patch)
treec7a2dbae27ec6094398dfba9d56cda256f38cd61 /OpenSim/Region
parentadd a constructor overload and an AddPos method to SculptMesh (diff)
downloadopensim-SC_OLD-e53596f6070cb10d04ebc79bf556a43bce435807.zip
opensim-SC_OLD-e53596f6070cb10d04ebc79bf556a43bce435807.tar.gz
opensim-SC_OLD-e53596f6070cb10d04ebc79bf556a43bce435807.tar.bz2
opensim-SC_OLD-e53596f6070cb10d04ebc79bf556a43bce435807.tar.xz
Remove redundant distance limitaion in llRezAtRoot
Fixes Mantis #3887
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs5
1 files changed, 0 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 a9af260..1b4674d 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -2562,11 +2562,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2562 } 2562 }
2563 2563
2564 Vector3 llpos = new Vector3((float)pos.x, (float)pos.y, (float)pos.z); 2564 Vector3 llpos = new Vector3((float)pos.x, (float)pos.y, (float)pos.z);
2565
2566 // test if we're further away then 10m
2567 if (Util.GetDistanceTo(llpos, m_host.AbsolutePosition) > 10)
2568 return; // wiki says, if it's further away then 10m, silently fail.
2569
2570 Vector3 llvel = new Vector3((float)vel.x, (float)vel.y, (float)vel.z); 2565 Vector3 llvel = new Vector3((float)vel.x, (float)vel.y, (float)vel.z);
2571 2566
2572 // need the magnitude later 2567 // need the magnitude later