diff options
author | Robert Adams | 2013-01-21 09:19:09 -0800 |
---|---|---|
committer | Robert Adams | 2013-01-21 09:19:09 -0800 |
commit | 3f6698a595593edc4027ff58cbebf947a6b5ac1f (patch) | |
tree | d5f6978e4c527f8f4dd219975dce00e06ba2b20f /OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | |
parent | BulletSim: More aggressive as setting character velocity to zero (diff) | |
download | opensim-SC-3f6698a595593edc4027ff58cbebf947a6b5ac1f.zip opensim-SC-3f6698a595593edc4027ff58cbebf947a6b5ac1f.tar.gz opensim-SC-3f6698a595593edc4027ff58cbebf947a6b5ac1f.tar.bz2 opensim-SC-3f6698a595593edc4027ff58cbebf947a6b5ac1f.tar.xz |
BulletSim: remove unused MaxTaintsToProcessPerStep parameter
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs b/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs index 6a92365..2b4488a 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | |||
@@ -236,11 +236,7 @@ public static class BSParam | |||
236 | (s,cf,p,v) => { s.m_maxUpdatesPerFrame = cf.GetInt(p, (int)v); }, | 236 | (s,cf,p,v) => { s.m_maxUpdatesPerFrame = cf.GetInt(p, (int)v); }, |
237 | (s) => { return (float)s.m_maxUpdatesPerFrame; }, | 237 | (s) => { return (float)s.m_maxUpdatesPerFrame; }, |
238 | (s,p,l,v) => { s.m_maxUpdatesPerFrame = (int)v; } ), | 238 | (s,p,l,v) => { s.m_maxUpdatesPerFrame = (int)v; } ), |
239 | new ParameterDefn("MaxTaintsToProcessPerStep", "Number of update taints to process before each simulation step", | 239 | |
240 | 500f, | ||
241 | (s,cf,p,v) => { s.m_taintsToProcessPerStep = cf.GetInt(p, (int)v); }, | ||
242 | (s) => { return (float)s.m_taintsToProcessPerStep; }, | ||
243 | (s,p,l,v) => { s.m_taintsToProcessPerStep = (int)v; } ), | ||
244 | new ParameterDefn("MinObjectMass", "Minimum object mass (0.0001)", | 240 | new ParameterDefn("MinObjectMass", "Minimum object mass (0.0001)", |
245 | 0.0001f, | 241 | 0.0001f, |
246 | (s,cf,p,v) => { MinimumObjectMass = cf.GetFloat(p, v); }, | 242 | (s,cf,p,v) => { MinimumObjectMass = cf.GetFloat(p, v); }, |
@@ -261,9 +257,9 @@ public static class BSParam | |||
261 | (s,cf,p,v) => { MaxAngularVelocity = cf.GetFloat(p, v); }, | 257 | (s,cf,p,v) => { MaxAngularVelocity = cf.GetFloat(p, v); }, |
262 | (s) => { return (float)MaxAngularVelocity; }, | 258 | (s) => { return (float)MaxAngularVelocity; }, |
263 | (s,p,l,v) => { MaxAngularVelocity = v; } ), | 259 | (s,p,l,v) => { MaxAngularVelocity = v; } ), |
264 | // LL documentation says thie number should be 20f | 260 | // LL documentation says thie number should be 20f for llApplyImpulse and 200f for llRezObject |
265 | new ParameterDefn("MaxAddForceMagnitude", "Maximum force that can be applied by llApplyImpulse (SL says 20f)", | 261 | new ParameterDefn("MaxAddForceMagnitude", "Maximum force that can be applied by llApplyImpulse (SL says 20f)", |
266 | 200.0f, | 262 | 20000.0f, |
267 | (s,cf,p,v) => { MaxAddForceMagnitude = cf.GetFloat(p, v); }, | 263 | (s,cf,p,v) => { MaxAddForceMagnitude = cf.GetFloat(p, v); }, |
268 | (s) => { return (float)MaxAddForceMagnitude; }, | 264 | (s) => { return (float)MaxAddForceMagnitude; }, |
269 | (s,p,l,v) => { MaxAddForceMagnitude = v; } ), | 265 | (s,p,l,v) => { MaxAddForceMagnitude = v; } ), |