mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Comment
This commit is contained in:
parent
8f4ad90a17
commit
c59a58ae5b
@ -174,7 +174,7 @@ public class AnimationState {
|
|||||||
for (; i < n; i++) {
|
for (; i < n; i++) {
|
||||||
Event event = events.get(i);
|
Event event = events.get(i);
|
||||||
if (event.time < trackLastWrapped) break;
|
if (event.time < trackLastWrapped) break;
|
||||||
if (event.time > animationEnd) continue; // Discard events out of animation start/end.
|
if (event.time > animationEnd) continue; // Discard events outside animation start/end.
|
||||||
queue.event(entry, event);
|
queue.event(entry, event);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -187,7 +187,7 @@ public class AnimationState {
|
|||||||
// Queue events after complete.
|
// Queue events after complete.
|
||||||
for (; i < n; i++) {
|
for (; i < n; i++) {
|
||||||
Event event = events.get(i);
|
Event event = events.get(i);
|
||||||
if (event.time < animationStart) continue; // Discard events out of animation start/end.
|
if (event.time < animationStart) continue; // Discard events outside animation start/end.
|
||||||
queue.event(entry, events.get(i));
|
queue.event(entry, events.get(i));
|
||||||
}
|
}
|
||||||
events.clear();
|
events.clear();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user