aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorubit2012-06-13 06:19:40 +0200
committerubit2012-06-13 06:19:40 +0200
commit9b9332782d913e738a2c35009361775e8e47f045 (patch)
treef5e62840d43dad480d6a54d6ca5b96a5506e71af
parentMerge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork (diff)
parentMerge branch 'avination' into ubitwork (diff)
downloadopensim-SC_OLD-9b9332782d913e738a2c35009361775e8e47f045.zip
opensim-SC_OLD-9b9332782d913e738a2c35009361775e8e47f045.tar.gz
opensim-SC_OLD-9b9332782d913e738a2c35009361775e8e47f045.tar.bz2
opensim-SC_OLD-9b9332782d913e738a2c35009361775e8e47f045.tar.xz
Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs14
1 files changed, 11 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index fafeba2..959d928 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -12625,9 +12625,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
12625 results.Add(r); 12625 results.Add(r);
12626 } 12626 }
12627 12627
12628 // bug: will not detect phantom unless they are physical 12628 // TODO: Replace this with a better solution. ObjectIntersection can only
12629 // don't use ObjectIntersection because its also bad 12629 // detect nonphysical phantoms. They are detected by virtue of being
12630 12630 // nonphysical (e.g. no PhysActor) so will not conflict with detecting
12631 // physicsl phantoms as done by the physics scene
12632 // We don't want anything else but phantoms here.
12633 if (detectPhantom)
12634 {
12635 ContactResult[] objectHits = ObjectIntersection(rayStart, rayEnd, false, false, true);
12636 foreach (ContactResult r in objectHits)
12637 results.Add(r);
12638 }
12631 } 12639 }
12632 else 12640 else
12633 { 12641 {