diff options
author | BlueWall | 2012-12-03 20:17:00 -0500 |
---|---|---|
committer | BlueWall | 2012-12-03 20:17:00 -0500 |
commit | 0c7d6adef158d5cb25d8eb60287c5cb0cceaa953 (patch) | |
tree | f766959f3442b78aa9202a4f61cf127508245345 /OpenSim/Region/Physics/BulletSPlugin/BSTerrainMesh.cs | |
parent | XmlRpcGridRouter (diff) | |
parent | BulletSim: Reduce idle region physics overhead where there are MANY (diff) | |
download | opensim-SC-0c7d6adef158d5cb25d8eb60287c5cb0cceaa953.zip opensim-SC-0c7d6adef158d5cb25d8eb60287c5cb0cceaa953.tar.gz opensim-SC-0c7d6adef158d5cb25d8eb60287c5cb0cceaa953.tar.bz2 opensim-SC-0c7d6adef158d5cb25d8eb60287c5cb0cceaa953.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSTerrainMesh.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSTerrainMesh.cs b/OpenSim/Region/Physics/BulletSPlugin/BSTerrainMesh.cs index 7e93ab4..6ce767d 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSTerrainMesh.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSTerrainMesh.cs | |||
@@ -130,8 +130,8 @@ public sealed class BSTerrainMesh : BSTerrainPhys | |||
130 | // Redo its bounding box now that it is in the world | 130 | // Redo its bounding box now that it is in the world |
131 | BulletSimAPI.UpdateSingleAabb2(PhysicsScene.World.ptr, m_terrainBody.ptr); | 131 | BulletSimAPI.UpdateSingleAabb2(PhysicsScene.World.ptr, m_terrainBody.ptr); |
132 | 132 | ||
133 | BulletSimAPI.SetCollisionFilterMask2(m_terrainBody.ptr, | 133 | BulletSimAPI.SetCollisionGroupMask2(m_terrainBody.ptr, |
134 | (uint)CollisionFilterGroups.TerrainFilter, | 134 | (uint)CollisionFilterGroups.TerrainGroup, |
135 | (uint)CollisionFilterGroups.TerrainMask); | 135 | (uint)CollisionFilterGroups.TerrainMask); |
136 | 136 | ||
137 | // Make it so the terrain will not move or be considered for movement. | 137 | // Make it so the terrain will not move or be considered for movement. |