mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 12:25:42 +08:00
* Releases the inter-region thread synchronization between physics in ODE on the same instance.
* If you are hosting many regions on a single instance, you will probably notice a decrease in region startup time and maybe a slight increase in performance. * Single regions won't notice anything different
This commit is contained in:
@@ -242,7 +242,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
// split static geometry collision handling into spaces of 30 meters
|
||||
public IntPtr[,] staticPrimspace;
|
||||
|
||||
public static Object OdeLock = new Object();
|
||||
public Object OdeLock;
|
||||
|
||||
public IMesher mesher;
|
||||
|
||||
@@ -259,6 +259,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
/// </summary>
|
||||
public OdeScene(CollisionLocker dode)
|
||||
{
|
||||
OdeLock = new Object();
|
||||
ode = dode;
|
||||
nearCallback = near;
|
||||
triCallback = TriCallback;
|
||||
|
||||
Reference in New Issue
Block a user