From ffe2d598a96609e486798ad0ca736b14603409c4 Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 21 Jan 2003 16:56:35 +0000 Subject: [PATCH] comment --- direct/src/interval/MetaInterval.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/direct/src/interval/MetaInterval.py b/direct/src/interval/MetaInterval.py index 152d3334f7..8cf0b4e7f2 100644 --- a/direct/src/interval/MetaInterval.py +++ b/direct/src/interval/MetaInterval.py @@ -50,6 +50,12 @@ class MetaInterval(CMetaInterval): # We must allow the old style: Track([ ival0, ival1, ... ]) as # well as the new style: Track(ival0, ival1, ...) + + # Note: this breaks in the case of a Track with one tuple: + # Track((0, ival0),). We could go through some effort to fix + # this case, but for now I prefer just to document it as a + # bug, since it will go away when we eventually remove support + # for the old interface. if len(ivals) == 1 and \ (isinstance(ivals[0], types.TupleType) or \ isinstance(ivals[0], types.ListType)):