diff options
author | teravus | 2012-12-23 16:17:18 -0500 |
---|---|---|
committer | teravus | 2012-12-23 16:17:18 -0500 |
commit | 93188706073fa23aa037456f5ec2d52605257d89 (patch) | |
tree | 828b881f7f937e132eefb5ef6f795d34e28cf427 | |
parent | * Update Example to include BulletSimN option and description. (diff) | |
download | opensim-SC_OLD-93188706073fa23aa037456f5ec2d52605257d89.zip opensim-SC_OLD-93188706073fa23aa037456f5ec2d52605257d89.tar.gz opensim-SC_OLD-93188706073fa23aa037456f5ec2d52605257d89.tar.bz2 opensim-SC_OLD-93188706073fa23aa037456f5ec2d52605257d89.tar.xz |
* Update BulletSimN terrain implementation to default to Heightfield, it's less CPU intensive.
-rw-r--r-- | OpenSim/Region/Physics/BulletSNPlugin/BSParam.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSNPlugin/BSParam.cs b/OpenSim/Region/Physics/BulletSNPlugin/BSParam.cs index 0bb1674..20c0939 100644 --- a/OpenSim/Region/Physics/BulletSNPlugin/BSParam.cs +++ b/OpenSim/Region/Physics/BulletSNPlugin/BSParam.cs | |||
@@ -315,7 +315,7 @@ public static class BSParam | |||
315 | (s,o,v) => { BulletSimAPI.SetContactProcessingThreshold2(o.PhysBody.ptr, v); } ), | 315 | (s,o,v) => { BulletSimAPI.SetContactProcessingThreshold2(o.PhysBody.ptr, v); } ), |
316 | 316 | ||
317 | new ParameterDefn("TerrainImplementation", "Type of shape to use for terrain (0=heightmap, 1=mesh)", | 317 | new ParameterDefn("TerrainImplementation", "Type of shape to use for terrain (0=heightmap, 1=mesh)", |
318 | (float)BSTerrainPhys.TerrainImplementation.Mesh, | 318 | (float)BSTerrainPhys.TerrainImplementation.Heightmap, |
319 | (s,cf,p,v) => { TerrainImplementation = cf.GetFloat(p,v); }, | 319 | (s,cf,p,v) => { TerrainImplementation = cf.GetFloat(p,v); }, |
320 | (s) => { return TerrainImplementation; }, | 320 | (s) => { return TerrainImplementation; }, |
321 | (s,p,l,v) => { TerrainImplementation = v; } ), | 321 | (s,p,l,v) => { TerrainImplementation = v; } ), |