浏览代码

reorder parameters for consistency

David Rose 20 年之前
父节点
当前提交
683aa42838
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
     # create LerpFunctionInterval DirectNotify category
     notify = directNotify.newCategory('LerpFunctionInterval')
     notify = directNotify.newCategory('LerpFunctionInterval')
     # Class methods
     # 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):
                  blendType = 'noBlend', extraArgs = [], name = None):
         """__init__(function, duration, fromData, toData, name)
         """__init__(function, duration, fromData, toData, name)
         """
         """