mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user