aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorRobert Adams2015-03-07 17:47:40 -0800
committerRobert Adams2015-03-07 17:47:40 -0800
commit00b5b915c7fb656743628b6409e10a6420db2de7 (patch)
tree67c04a38e80e2160b4d30da90c80c6d787df956a /OpenSim/Region/Framework/Scenes
parentRemove references to MAX_ASSET_DESC from the dynamic texture module, hardcode... (diff)
downloadopensim-SC-00b5b915c7fb656743628b6409e10a6420db2de7.zip
opensim-SC-00b5b915c7fb656743628b6409e10a6420db2de7.tar.gz
opensim-SC-00b5b915c7fb656743628b6409e10a6420db2de7.tar.bz2
opensim-SC-00b5b915c7fb656743628b6409e10a6420db2de7.tar.xz
BulletSim: add VEHICLE_ more parameter value limit checking.
This only bounds passed parameters as there is no good way of refusing the parameter setting. This mostly means that passing NaN's won't crash the simulator.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 21d47aa..4715558 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -5216,6 +5216,10 @@ namespace OpenSim.Region.Framework.Scenes
5216 return null; 5216 return null;
5217 } 5217 }
5218 5218
5219 // Get terrain height at the specified <x,y> location.
5220 // Presumes the underlying implementation is a heightmap which is a 1m grid.
5221 // Finds heightmap grid points before and after the point and
5222 // does a linear approximation of the height at this intermediate point.
5219 public float GetGroundHeight(float x, float y) 5223 public float GetGroundHeight(float x, float y)
5220 { 5224 {
5221 if (x < 0) 5225 if (x < 0)