From 265ea0b8a3d6017a78ce80b13de53ad9954d1cd7 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 23 May 2023 18:17:22 +0100 Subject: [PATCH] ExtendedPhysics module is specific to Bulletsim, can not be active with other engines, at least in current form --- OpenSim/Region/PhysicsModules/BulletS/ExtendedPhysics.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/PhysicsModules/BulletS/ExtendedPhysics.cs b/OpenSim/Region/PhysicsModules/BulletS/ExtendedPhysics.cs index 8e382bdc8a..9e7d543d9a 100755 --- a/OpenSim/Region/PhysicsModules/BulletS/ExtendedPhysics.cs +++ b/OpenSim/Region/PhysicsModules/BulletS/ExtendedPhysics.cs @@ -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)