Browse Source

reorder parameters for consistency

David Rose 20 years ago
parent
commit
683aa42838
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/interval/LerpInterval.py

+ 1 - 1
direct/src/interval/LerpInterval.py

@@ -607,7 +607,7 @@ class LerpFunctionInterval(Interval.Interval):
     # create LerpFunctionInterval DirectNotify category
     notify = directNotify.newCategory('LerpFunctionInterval')
     # Class methods
-    def __init__(self, function, fromData = 0, toData = 1, duration = 0.0,
+    def __init__(self, function, duration = 0.0, fromData = 0, toData = 1,
                  blendType = 'noBlend', extraArgs = [], name = None):
         """__init__(function, duration, fromData, toData, name)
         """