Fix LerpBlendHelpers import

This commit is contained in:
rdb 2013-07-27 11:03:39 +00:00
parent bba6537f97
commit 712ecb8d3b
2 changed files with 4 additions and 4 deletions

View File

@ -311,7 +311,7 @@
# functor creation is defered so initial state (sampled in functorFunc)
# will be appropriate for the time the lerp is spawned
from direct.task import Task
from direct.showbase import LerpBlendHelpers
from direct.interval import LerpBlendHelpers
from direct.task.TaskManagerGlobal import taskMgr
# upon death remove the functorFunc
@ -367,7 +367,7 @@
This lerp uses C++ to handle the stepping. Bonus is
its more efficient, trade-off is there is less control"""
from pandac import AutonomousLerp
from direct.showbase import LerpBlendHelpers
from direct.interval import LerpBlendHelpers
# make a lerp that lives in C++ land
functor = functorFunc()
lerp = AutonomousLerp.AutonomousLerp(functor, time,

View File

@ -405,7 +405,7 @@ def __lerp(self, functorFunc, duration, blendType, taskName=None):
# functor creation is defered so initial state (sampled in functorFunc)
# will be appropriate for the time the lerp is spawned
from direct.task import Task
from direct.showbase import LerpBlendHelpers
from direct.interval import LerpBlendHelpers
from direct.task.TaskManagerGlobal import taskMgr
# make the task function
@ -451,7 +451,7 @@ def __autoLerp(self, functorFunc, time, blendType, taskName):
This lerp uses C++ to handle the stepping. Bonus is
its more efficient, trade-off is there is less control"""
from pandac.PandaModules import AutonomousLerp
from direct.showbase import LerpBlendHelpers
from direct.interval import LerpBlendHelpers
# make a lerp that lives in C++ land
functor = functorFunc()
lerp = AutonomousLerp(functor, time,