diff --git a/direct/src/interval/IntervalTest.py b/direct/src/interval/IntervalTest.py index 9eef961061..0aedf9e820 100644 --- a/direct/src/interval/IntervalTest.py +++ b/direct/src/interval/IntervalTest.py @@ -23,10 +23,10 @@ BOAT_END = boatTrack.getIntervalEndTime('boatpath') # Make the dock lerp up so that it's up when the boat reaches the end of # its mopath -dockLerp = LerpPosHprInterval('lerp', dock, - Point3(0, 0, -5), - hpr = Vec3(0, 0, 0), - 5.0) +dockLerp = LerpPosHprInterval(dock, 5.0, + Point3(0, 0, -5), + hpr = Vec3(0, 0, 0), + name='dock-lerp') # We need the dock's state to be defined before the lerp dockPos = PosHprInterval(dock, dock.getPos(), dock.getHpr(), 1.0, 'dockpos') dockUpTime = BOAT_END - dockLerp.getDuration()