Revert "BulletSim: only create vehicle prim actor when vehicles are enabled."

The changes don't seem to be ready for prime time.

This reverts commit acb7b4a09a.
This commit is contained in:
Robert Adams
2013-07-22 12:08:49 -07:00
parent 7b187deb19
commit 5f7b2ea81b
2 changed files with 12 additions and 33 deletions

View File

@@ -116,7 +116,7 @@ public class BasicVehicles : OpenSimTestCase
// Instead the appropriate values are set and calls are made just the parts of the
// controller we want to exercise. Stepping the physics engine then applies
// the actions of that one feature.
BSDynamics vehicleActor = TestVehicle.GetVehicleActor(true /* createIfNone */);
BSDynamics vehicleActor = TestVehicle.GetVehicleActor();
if (vehicleActor != null)
{
vehicleActor.ProcessFloatVehicleParam(Vehicle.VERTICAL_ATTRACTION_EFFICIENCY, efficiency);