mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
*** empty log message ***
This commit is contained in:
parent
cb9c410ee2
commit
d7ed9e318b
@ -183,6 +183,9 @@ class Track(Interval):
|
|||||||
# Compare time with each ival's start/end times
|
# Compare time with each ival's start/end times
|
||||||
if (t < tStart):
|
if (t < tStart):
|
||||||
if (event == IVAL_DONE):
|
if (event == IVAL_DONE):
|
||||||
|
# This should only happen in cases of floating
|
||||||
|
# point instability where t is very close to
|
||||||
|
# but less than tStart
|
||||||
ival.setT(ival.getDuration(), event)
|
ival.setT(ival.getDuration(), event)
|
||||||
elif (self.prev_t > tStart):
|
elif (self.prev_t > tStart):
|
||||||
# We just crossed the start of this interval
|
# We just crossed the start of this interval
|
||||||
|
Loading…
x
Reference in New Issue
Block a user