mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
BulletSim: fix BulletSim crashing if there is no [BulletSim] section
in any INI file. Update TODO list.
This commit is contained in:
@@ -268,6 +268,12 @@ public sealed class BSScene : PhysicsScene, IPhysicsParameters
|
||||
// Do any replacements in the parameters
|
||||
m_physicsLoggingPrefix = m_physicsLoggingPrefix.Replace("%REGIONNAME%", RegionName);
|
||||
}
|
||||
else
|
||||
{
|
||||
BulletEngineName = "BulletUnmanaged";
|
||||
m_physicsLoggingEnabled = false;
|
||||
VehicleLoggingEnabled = false;
|
||||
}
|
||||
|
||||
// The material characteristics.
|
||||
BSMaterials.InitializeFromDefaults(Params);
|
||||
|
||||
Reference in New Issue
Block a user