Browse Source

*** empty log message ***

Mike Goslin 25 years ago
parent
commit
6bdce752d7
1 changed files with 1 additions and 3 deletions
  1. 1 3
      direct/src/interval/LerpInterval.py

+ 1 - 3
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