mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
Optimize ODE mesh by removing sleep. On a region with 100,000 prims and ODE enabled, the first Heartbeat loop call to UpdatePhysics takes 20 minutes. 75% of that time is spent in this sleep. (100k prims * 10ms)
This commit is contained in:
@@ -794,7 +794,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
// This sleeper is there to moderate how long it takes between
|
||||
// setting up the mesh and pre-processing it when we get rapid fire mesh requests on a single object
|
||||
|
||||
Thread.Sleep(10);
|
||||
//Thread.Sleep(10);
|
||||
|
||||
//Kill Body so that mesh can re-make the geom
|
||||
if (IsPhysical && Body != IntPtr.Zero)
|
||||
|
||||
Reference in New Issue
Block a user