From 495b22470d289ef39e186d26a8a62bdce63a8432 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sun, 21 Oct 2018 12:41:28 +0100 Subject: [PATCH] oops some code got in ahead of time --- OpenSim/Region/PhysicsModules/BulletS/BSScene.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/PhysicsModules/BulletS/BSScene.cs b/OpenSim/Region/PhysicsModules/BulletS/BSScene.cs index 8e29dd060d..fde7840d77 100644 --- a/OpenSim/Region/PhysicsModules/BulletS/BSScene.cs +++ b/OpenSim/Region/PhysicsModules/BulletS/BSScene.cs @@ -352,9 +352,13 @@ namespace OpenSim.Region.PhysicsModule.BulletS if (BSParam.UseSeparatePhysicsThread) { // The physics simulation should happen independently of the heartbeat loop - m_physicsThread = WorkManager.StartThread( + m_physicsThread + = WorkManager.StartThread( BulletSPluginPhysicsThread, - string.Format("{0} ({1})", BulletEngineName, RegionName)); + string.Format("{0} ({1})", BulletEngineName, RegionName), + ThreadPriority.Normal, + true, + true); } }