diff --git a/direct/src/extensions/NodePath-extensions.py b/direct/src/extensions/NodePath-extensions.py index 365d2382e1..63860d98a4 100644 --- a/direct/src/extensions/NodePath-extensions.py +++ b/direct/src/extensions/NodePath-extensions.py @@ -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, diff --git a/direct/src/extensions_native/NodePath_extensions.py b/direct/src/extensions_native/NodePath_extensions.py index 3a4d8ec139..d4f6b4d472 100644 --- a/direct/src/extensions_native/NodePath_extensions.py +++ b/direct/src/extensions_native/NodePath_extensions.py @@ -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,