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

remove-scene-viewer
Justin Clark-Casey (justincc) 2011-10-25 21:15:37 +01:00
parent ee4c4e5058
commit 1fbb379536
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);
} }
} }
} }