minor: rename a parameter in OdeScene.Simulate() from actor -> prim since it's an OdePrim
parent
ee4c4e5058
commit
1fbb379536
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue