From bb63ebad79f2b36e5aee407b5ebc12b70bb09540 Mon Sep 17 00:00:00 2001 From: Mark Mine Date: Tue, 16 Aug 2005 21:08:49 +0000 Subject: [PATCH] Update interval controls jump to start/end --- direct/src/interval/Interval.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/direct/src/interval/Interval.py b/direct/src/interval/Interval.py index 3dde27b6be..7806c50004 100644 --- a/direct/src/interval/Interval.py +++ b/direct/src/interval/Interval.py @@ -397,12 +397,12 @@ class Interval(DirectObject): bf = Frame(outerFrame) # Jump to start and end def toStart(s=self, es=es): - s.pause() - s.setT(0.0) - s.pause() + s.clearToInitial() + es.set(0, fCommand = 0) def toEnd(s=self): s.pause() s.setT(s.getDuration()) + es.set(s.getDuration(), fCommand = 0) s.pause() jumpToStart = Button(bf, text = '<<', command = toStart) # Stop/play buttons