From b63ec987b0a1692da4c5e84facf0ea149d4cfe90 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Thu, 20 Oct 2011 17:54:32 +0100
Subject: For now, stop passing timeStep into methods where it's not actually
used.
---
OpenSim/Region/Physics/OdePlugin/OdeScene.cs | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
(limited to 'OpenSim/Region/Physics/OdePlugin/OdeScene.cs')
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
///
/// This is our collision testing routine in ODE
///
- ///
- private void collision_optimized(float timeStep)
+ private void collision_optimized()
{
_perloopContact.Clear();
@@ -2692,12 +2691,6 @@ Console.WriteLine("AddPhysicsActorTaint to " + taintedprim.Name);
while (step_time > 0.0f)
{
- //lock (ode)
- //{
- //if (!ode.lockquery())
- //{
- // ode.dlock(world);
-
try
{
// Insert, remove Characters
@@ -2766,7 +2759,7 @@ Console.WriteLine("AddPhysicsActorTaint to " + taintedprim.Name);
foreach (OdeCharacter actor in _characters)
{
if (actor != null)
- actor.Move(timeStep, defects);
+ actor.Move(defects);
}
if (0 != defects.Count)
{
@@ -2793,7 +2786,7 @@ Console.WriteLine("AddPhysicsActorTaint to " + taintedprim.Name);
//int RayCastTimeMS = m_rayCastManager.ProcessQueuedRequests();
m_rayCastManager.ProcessQueuedRequests();
- collision_optimized(timeStep);
+ collision_optimized();
lock (_collisionEventPrim)
{
--
cgit v1.1