mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Don't need to check separate physics status in bulletsim update since that method is only run for an indepndent thread anyway.
Also remove bulletsim monitored thread from watchdog on shutdown.
This commit is contained in:
@@ -862,9 +862,10 @@ public sealed class BSScene : PhysicsScene, IPhysicsParameters
|
||||
DetailLog("{0},BulletSPluginPhysicsThread,longerThanRealtime={1}", BSScene.DetailLogZero, simulationTimeVsRealtimeDifferenceMS);
|
||||
}
|
||||
|
||||
if (BSParam.UseSeparatePhysicsThread)
|
||||
Watchdog.UpdateThread();
|
||||
Watchdog.UpdateThread();
|
||||
}
|
||||
|
||||
Watchdog.RemoveThread();
|
||||
}
|
||||
|
||||
#endregion // Simulation
|
||||
|
||||
Reference in New Issue
Block a user