aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorMelanie2012-04-17 01:50:49 +0100
committerMelanie2012-04-17 01:50:49 +0100
commitab1a3688e24db08071f74c9804d552d5763bbeb2 (patch)
tree030bafc8ce646fbf80bd20a1e7647618222e7fc2 /OpenSim/Region/Framework/Scenes/Scene.cs
parentMerge branch 'master' into careminster (diff)
parentMerge branch 'ubitwork' (diff)
downloadopensim-SC-ab1a3688e24db08071f74c9804d552d5763bbeb2.zip
opensim-SC-ab1a3688e24db08071f74c9804d552d5763bbeb2.tar.gz
opensim-SC-ab1a3688e24db08071f74c9804d552d5763bbeb2.tar.bz2
opensim-SC-ab1a3688e24db08071f74c9804d552d5763bbeb2.tar.xz
Merge branch 'master' of ssh://melanie@3dhosting.de/var/git/careminster into careminster
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index a34079c..3e08128 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1891,6 +1891,19 @@ namespace OpenSim.Region.Framework.Scenes
1891 EventManager.TriggerPrimsLoaded(this); 1891 EventManager.TriggerPrimsLoaded(this);
1892 } 1892 }
1893 1893
1894 public bool SuportsRayCastFiltered()
1895 {
1896 if (PhysicsScene == null)
1897 return false;
1898 return PhysicsScene.SuportsRaycastWorldFiltered();
1899 }
1900
1901 public object RayCastFiltered(Vector3 position, Vector3 direction, float length, int Count, RayFilterFlags filter)
1902 {
1903 if (PhysicsScene == null)
1904 return null;
1905 return PhysicsScene.RaycastWorld(position, direction, length, Count,filter);
1906 }
1894 1907
1895 /// <summary> 1908 /// <summary>
1896 /// Gets a new rez location based on the raycast and the size of the object that is being rezzed. 1909 /// Gets a new rez location based on the raycast and the size of the object that is being rezzed.