From 79e66527ed9a5ae5bc93e7dbea8042c3db9c3094 Mon Sep 17 00:00:00 2001 From: Mike Goslin Date: Sat, 24 Feb 2001 03:20:24 +0000 Subject: [PATCH] *** empty log message *** --- direct/src/interval/LerpInterval.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/direct/src/interval/LerpInterval.py b/direct/src/interval/LerpInterval.py index 2bbccdbcd9..5d3b0be610 100644 --- a/direct/src/interval/LerpInterval.py +++ b/direct/src/interval/LerpInterval.py @@ -48,7 +48,6 @@ class LerpPosHprInterval(LerpInterval): self.blendType = self.__getBlend(blendType) self.lerp = Lerp.Lerp(functor, self.duration, self.blendType) - self.lastT = 0.0 def setT(self, t): """ setT(t) @@ -56,10 +55,7 @@ class LerpPosHprInterval(LerpInterval): if (t > self.duration): return assert(t >= 0) - tt = t - self.lastT - self.lastT = t - self.lerp.setStepSize(tt) - self.lerp.step() + self.lerp.setT(t) def __getBlend(self, blendType): """__getBlend(self, string)