aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
diff options
context:
space:
mode:
authorMelanie2011-10-25 03:17:40 +0100
committerMelanie2011-10-25 03:17:40 +0100
commite35835602f5d61d8a315efef0b3f09c2dc0ed467 (patch)
tree51ce504a4af29435fa7f972e848f9fcb7a2fd7d4 /OpenSim/Region/Physics/OdePlugin/OdeScene.cs
parentMerge commit 'f16d125027aba098e45dc026f9d507a430bc2b10' into bigmerge (diff)
parentFor now, stop passing timeStep into methods where it's not actually used. (diff)
downloadopensim-SC_OLD-e35835602f5d61d8a315efef0b3f09c2dc0ed467.zip
opensim-SC_OLD-e35835602f5d61d8a315efef0b3f09c2dc0ed467.tar.gz
opensim-SC_OLD-e35835602f5d61d8a315efef0b3f09c2dc0ed467.tar.bz2
opensim-SC_OLD-e35835602f5d61d8a315efef0b3f09c2dc0ed467.tar.xz
Merge commit 'b63ec987b0a1692da4c5e84facf0ea149d4cfe90' into bigmerge
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/OdeScene.cs')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdeScene.cs13
1 files changed, 3 insertions, 10 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
index 32d6481..a56a292 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
@@ -1473,8 +1473,7 @@ namespace OpenSim.Region.Physics.OdePlugin
1473 /// <summary> 1473 /// <summary>
1474 /// This is our collision testing routine in ODE 1474 /// This is our collision testing routine in ODE
1475 /// </summary> 1475 /// </summary>
1476 /// <param name="timeStep"></param> 1476 private void collision_optimized()
1477 private void collision_optimized(float timeStep)
1478 { 1477 {
1479 _perloopContact.Clear(); 1478 _perloopContact.Clear();
1480 1479
@@ -2692,12 +2691,6 @@ Console.WriteLine("AddPhysicsActorTaint to " + taintedprim.Name);
2692 2691
2693 while (step_time > 0.0f) 2692 while (step_time > 0.0f)
2694 { 2693 {
2695 //lock (ode)
2696 //{
2697 //if (!ode.lockquery())
2698 //{
2699 // ode.dlock(world);
2700
2701 try 2694 try
2702 { 2695 {
2703 // Insert, remove Characters 2696 // Insert, remove Characters
@@ -2766,7 +2759,7 @@ Console.WriteLine("AddPhysicsActorTaint to " + taintedprim.Name);
2766 foreach (OdeCharacter actor in _characters) 2759 foreach (OdeCharacter actor in _characters)
2767 { 2760 {
2768 if (actor != null) 2761 if (actor != null)
2769 actor.Move(timeStep, defects); 2762 actor.Move(defects);
2770 } 2763 }
2771 if (0 != defects.Count) 2764 if (0 != defects.Count)
2772 { 2765 {
@@ -2793,7 +2786,7 @@ Console.WriteLine("AddPhysicsActorTaint to " + taintedprim.Name);
2793 //int RayCastTimeMS = m_rayCastManager.ProcessQueuedRequests(); 2786 //int RayCastTimeMS = m_rayCastManager.ProcessQueuedRequests();
2794 m_rayCastManager.ProcessQueuedRequests(); 2787 m_rayCastManager.ProcessQueuedRequests();
2795 2788
2796 collision_optimized(timeStep); 2789 collision_optimized();
2797 2790
2798 lock (_collisionEventPrim) 2791 lock (_collisionEventPrim)
2799 { 2792 {