mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
minor: rename a parameter in OdeScene.Simulate() from actor -> prim since it's an OdePrim
This commit is contained in:
@@ -2859,14 +2859,14 @@ Console.WriteLine("AddPhysicsActorTaint to " + taintedprim.Name);
|
||||
{
|
||||
//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)
|
||||
SimulateActorPendingJoints(actor);
|
||||
SimulateActorPendingJoints(prim);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user