aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-10-20 17:54:32 +0100
committerJustin Clark-Casey (justincc)2011-10-20 17:54:32 +0100
commitb63ec987b0a1692da4c5e84facf0ea149d4cfe90 (patch)
treed8ead4576faf629046fe39294164cd391f6f4f37 /OpenSim/Region/Physics/OdePlugin/OdeScene.cs
parentChange wording on asset requests. (diff)
downloadopensim-SC-b63ec987b0a1692da4c5e84facf0ea149d4cfe90.zip
opensim-SC-b63ec987b0a1692da4c5e84facf0ea149d4cfe90.tar.gz
opensim-SC-b63ec987b0a1692da4c5e84facf0ea149d4cfe90.tar.bz2
opensim-SC-b63ec987b0a1692da4c5e84facf0ea149d4cfe90.tar.xz
For now, stop passing timeStep into methods where it's not actually used.
Diffstat (limited to '')
-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 {