diff options
author | Robert Adams | 2013-05-17 14:43:53 -0700 |
---|---|---|
committer | Robert Adams | 2013-05-17 21:19:38 -0700 |
commit | 214bae14799c05c12595b067ff2eb0e2e5b4eeb2 (patch) | |
tree | 0067dd4f00a9b565e916b861d452dd98f4db0d3f /OpenSim/Region/Physics/BulletSPlugin/BSScene.cs | |
parent | minor: remove long commented out scene cache clearing code in EntityTransferM... (diff) | |
download | opensim-SC_OLD-214bae14799c05c12595b067ff2eb0e2e5b4eeb2.zip opensim-SC_OLD-214bae14799c05c12595b067ff2eb0e2e5b4eeb2.tar.gz opensim-SC_OLD-214bae14799c05c12595b067ff2eb0e2e5b4eeb2.tar.bz2 opensim-SC_OLD-214bae14799c05c12595b067ff2eb0e2e5b4eeb2.tar.xz |
BulletSim: fix BulletSim crashing if there is no [BulletSim] section
in any INI file. Update TODO list.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSScene.cs')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSScene.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs index 3f407ce..9ed2d06 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs | |||
@@ -268,6 +268,12 @@ public sealed class BSScene : PhysicsScene, IPhysicsParameters | |||
268 | // Do any replacements in the parameters | 268 | // Do any replacements in the parameters |
269 | m_physicsLoggingPrefix = m_physicsLoggingPrefix.Replace("%REGIONNAME%", RegionName); | 269 | m_physicsLoggingPrefix = m_physicsLoggingPrefix.Replace("%REGIONNAME%", RegionName); |
270 | } | 270 | } |
271 | else | ||
272 | { | ||
273 | BulletEngineName = "BulletUnmanaged"; | ||
274 | m_physicsLoggingEnabled = false; | ||
275 | VehicleLoggingEnabled = false; | ||
276 | } | ||
271 | 277 | ||
272 | // The material characteristics. | 278 | // The material characteristics. |
273 | BSMaterials.InitializeFromDefaults(Params); | 279 | BSMaterials.InitializeFromDefaults(Params); |