minor: rename a parameter in OdeScene.Simulate() from actor -> prim since it's an OdePrim

0.7.2-post-fixes
Justin Clark-Casey (justincc) 2011-10-25 21:15:37 +01:00
parent 750e8ec3da
commit d4fc07aae1
1 changed files with 4 additions and 4 deletions

View File

@ -2859,14 +2859,14 @@ Console.WriteLine("AddPhysicsActorTaint to " + taintedprim.Name);
{ {
//if (timeStep < 0.2f) //if (timeStep < 0.2f)
{ {
foreach (OdePrim actor in _activeprims) foreach (OdePrim prim in _activeprims)
{ {
if (actor.IsPhysical && (d.BodyIsEnabled(actor.Body) || !actor._zeroFlag)) if (prim.IsPhysical && (d.BodyIsEnabled(prim.Body) || !prim._zeroFlag))
{ {
actor.UpdatePositionAndVelocity(); prim.UpdatePositionAndVelocity();
if (SupportsNINJAJoints) if (SupportsNINJAJoints)
SimulateActorPendingJoints(actor); SimulateActorPendingJoints(prim);
} }
} }
} }