diff options
author | Robert Adams | 2013-03-17 18:44:09 -0700 |
---|---|---|
committer | Robert Adams | 2013-03-19 00:00:02 -0700 |
commit | 8510f57ad48db5f97dacc2a9be63c64e62477d14 (patch) | |
tree | c43402d78fa9edfc0e440a600bfdf0745d6a2f06 /OpenSim/Region/Physics/BulletSPlugin/BSTerrainManager.cs | |
parent | Process default attachment point in AttachObjectInternal before we check whet... (diff) | |
download | opensim-SC_OLD-8510f57ad48db5f97dacc2a9be63c64e62477d14.zip opensim-SC_OLD-8510f57ad48db5f97dacc2a9be63c64e62477d14.tar.gz opensim-SC_OLD-8510f57ad48db5f97dacc2a9be63c64e62477d14.tar.bz2 opensim-SC_OLD-8510f57ad48db5f97dacc2a9be63c64e62477d14.tar.xz |
BulletSim: add terrain contact processing threshold parameter. Initialize contact processing threshold for static object as well as mesh terrain.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSTerrainManager.cs')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSTerrainManager.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSTerrainManager.cs b/OpenSim/Region/Physics/BulletSPlugin/BSTerrainManager.cs index e8040d8..a60946d 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSTerrainManager.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSTerrainManager.cs | |||
@@ -263,6 +263,7 @@ public sealed class BSTerrainManager : IDisposable | |||
263 | 263 | ||
264 | if (MegaRegionParentPhysicsScene == null) | 264 | if (MegaRegionParentPhysicsScene == null) |
265 | { | 265 | { |
266 | // This terrain is not part of the mega-region scheme. Create vanilla terrain. | ||
266 | BSTerrainPhys newTerrainPhys = BuildPhysicalTerrain(terrainRegionBase, id, heightMap, minCoords, maxCoords); | 267 | BSTerrainPhys newTerrainPhys = BuildPhysicalTerrain(terrainRegionBase, id, heightMap, minCoords, maxCoords); |
267 | m_terrains.Add(terrainRegionBase, newTerrainPhys); | 268 | m_terrains.Add(terrainRegionBase, newTerrainPhys); |
268 | 269 | ||