aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-10-16 12:57:29 +0000
committerTeravus Ovares2008-10-16 12:57:29 +0000
commit68d85497adc328f8fda2fef52fb51f2c9bc7ece0 (patch)
tree58d10a1c83c71717f5073754aea04d15b8ea2280 /OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
parentCheck for terrain size=256x256 on "terrain load <file>". This fixes (diff)
downloadopensim-SC_OLD-68d85497adc328f8fda2fef52fb51f2c9bc7ece0.zip
opensim-SC_OLD-68d85497adc328f8fda2fef52fb51f2c9bc7ece0.tar.gz
opensim-SC_OLD-68d85497adc328f8fda2fef52fb51f2c9bc7ece0.tar.bz2
opensim-SC_OLD-68d85497adc328f8fda2fef52fb51f2c9bc7ece0.tar.xz
* 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
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/OdePlugin.cs')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdePlugin.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
index 2676def..90285c2 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
@@ -242,7 +242,7 @@ namespace OpenSim.Region.Physics.OdePlugin
242 // split static geometry collision handling into spaces of 30 meters 242 // split static geometry collision handling into spaces of 30 meters
243 public IntPtr[,] staticPrimspace; 243 public IntPtr[,] staticPrimspace;
244 244
245 public static Object OdeLock = new Object(); 245 public Object OdeLock;
246 246
247 public IMesher mesher; 247 public IMesher mesher;
248 248
@@ -259,6 +259,7 @@ namespace OpenSim.Region.Physics.OdePlugin
259 /// </summary> 259 /// </summary>
260 public OdeScene(CollisionLocker dode) 260 public OdeScene(CollisionLocker dode)
261 { 261 {
262 OdeLock = new Object();
262 ode = dode; 263 ode = dode;
263 nearCallback = near; 264 nearCallback = near;
264 triCallback = TriCallback; 265 triCallback = TriCallback;