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.cs3
1 files changed, 2 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 05adf8e..f475b99 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -12416,9 +12416,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
12416 12416
12417 ContactResult result = new ContactResult (); 12417 ContactResult result = new ContactResult ();
12418 result.ConsumerID = group.LocalId; 12418 result.ConsumerID = group.LocalId;
12419 result.Depth = intersection.distance; 12419// result.Depth = intersection.distance;
12420 result.Normal = intersection.normal; 12420 result.Normal = intersection.normal;
12421 result.Pos = intersection.ipoint; 12421 result.Pos = intersection.ipoint;
12422 result.Depth = Vector3.Mag(rayStart - result.Pos);
12422 12423
12423 contacts.Add(result); 12424 contacts.Add(result);
12424 }); 12425 });