From 6bdce752d7eab140b7004c5eebd942656c9d1b4e Mon Sep 17 00:00:00 2001 From: Mike Goslin Date: Thu, 12 Apr 2001 18:21:27 +0000 Subject: [PATCH] *** empty log message *** --- direct/src/interval/LerpInterval.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/direct/src/interval/LerpInterval.py b/direct/src/interval/LerpInterval.py index 49afd09a14..4cae60a316 100644 --- a/direct/src/interval/LerpInterval.py +++ b/direct/src/interval/LerpInterval.py @@ -24,9 +24,7 @@ class LerpInterval(Interval): self.lerp = Lerp.Lerp(self.functorFunc(), self.duration, self.blendType) # Make sure lerp exists - try: - self.lerp - except AttributeError: + if (not self.lerp): self.lerp = Lerp.Lerp(self.functorFunc(), self.duration, self.blendType) # Evaluate the lerp