* 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:
Teravus Ovares
2008-10-16 12:57:29 +00:00
parent 641de2f404
commit 68d85497ad
3 changed files with 7 additions and 6 deletions

View File

@@ -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;