ExtendedPhysics module is specific to Bulletsim, can not be active with other engines, at least in current form

This commit is contained in:
UbitUmarov
2023-05-23 18:17:22 +01:00
parent d0c681d404
commit 265ea0b8a3

View File

@@ -91,7 +91,9 @@ namespace OpenSim.Region.PhysicsModule.BulletS
{
if ((Configuration = config.Configs["ExtendedPhysics"]) != null)
{
Enabled = Configuration.GetBoolean("Enabled", Enabled);
IConfig cStartup = config.Configs["Startup"];
if (cStartup?.GetString("physics", string.Empty) == "BulletSim")
Enabled = Configuration.GetBoolean("Enabled", Enabled);
}
}
catch (Exception e)