aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index fe85118..a0dc6cd 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -12379,9 +12379,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
12379 12379
12380 ContactResult result = new ContactResult (); 12380 ContactResult result = new ContactResult ();
12381 result.ConsumerID = group.LocalId; 12381 result.ConsumerID = group.LocalId;
12382 result.Depth = intersection.distance; 12382// result.Depth = intersection.distance;
12383 result.Normal = intersection.normal; 12383 result.Normal = intersection.normal;
12384 result.Pos = intersection.ipoint; 12384 result.Pos = intersection.ipoint;
12385 result.Depth = Vector3.Mag(rayStart - result.Pos);
12385 12386
12386 contacts.Add(result); 12387 contacts.Add(result);
12387 }); 12388 });
@@ -12576,7 +12577,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
12576 bool checkPhysical = !((rejectTypes & ScriptBaseClass.RC_REJECT_PHYSICAL) == ScriptBaseClass.RC_REJECT_PHYSICAL); 12577 bool checkPhysical = !((rejectTypes & ScriptBaseClass.RC_REJECT_PHYSICAL) == ScriptBaseClass.RC_REJECT_PHYSICAL);
12577 12578
12578 12579
12579 if (World.SuportsRayCastFiltered()) 12580 if (false)// World.SuportsRayCastFiltered())
12580 { 12581 {
12581 if (dist == 0) 12582 if (dist == 0)
12582 return list; 12583 return list;