aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Manager/PhysicsScene.cs
diff options
context:
space:
mode:
authorMike Mazur2009-02-03 08:31:08 +0000
committerMike Mazur2009-02-03 08:31:08 +0000
commit949ae6136e24aee1cb8d06491fed75970cab38d2 (patch)
tree23d1f735e7997ab911b4de639cc5d5bca390477b /OpenSim/Region/Physics/Manager/PhysicsScene.cs
parentEmbed OpenSim.Data.addin.xml as a resource into OpenSim.Data.dll. (diff)
downloadopensim-SC_OLD-949ae6136e24aee1cb8d06491fed75970cab38d2.zip
opensim-SC_OLD-949ae6136e24aee1cb8d06491fed75970cab38d2.tar.gz
opensim-SC_OLD-949ae6136e24aee1cb8d06491fed75970cab38d2.tar.bz2
opensim-SC_OLD-949ae6136e24aee1cb8d06491fed75970cab38d2.tar.xz
Change access levels from private to protected to facilitate
subclassing; also add new method signatures. Thanks tuco and mikkopa. Fix Mantis #3072.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/Manager/PhysicsScene.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsScene.cs b/OpenSim/Region/Physics/Manager/PhysicsScene.cs
index 2cf4d5a..3d0015f 100644
--- a/OpenSim/Region/Physics/Manager/PhysicsScene.cs
+++ b/OpenSim/Region/Physics/Manager/PhysicsScene.cs
@@ -152,6 +152,12 @@ namespace OpenSim.Region.Physics.Manager
152 152
153 public abstract bool IsThreaded { get; } 153 public abstract bool IsThreaded { get; }
154 154
155 public virtual uint Raycast(PhysicsVector pos, PhysicsVector dir, float rayLength, uint ignoreId)
156 { return 0; }
157
158 public virtual void SetMaxFlightHeight(float maxheight) { }
159
160
155 private class NullPhysicsScene : PhysicsScene 161 private class NullPhysicsScene : PhysicsScene
156 { 162 {
157 private static int m_workIndicator; 163 private static int m_workIndicator;