mirror of
https://github.com/MapMakersAndProgrammers/Alternativa3D.git
synced 2025-10-27 02:19:11 -07:00
ScriptTimeoutError:: fixed in AnimationController
This commit is contained in:
@@ -132,10 +132,13 @@ package alternativa.engine3d.animation {
|
||||
}
|
||||
}
|
||||
// Calls the notifications
|
||||
for (var notify:AnimationNotify = nearestNotifyers; notify != null; notify = notify.processNext) {
|
||||
for (var notify:AnimationNotify = nearestNotifyers; notify != null;) {
|
||||
if (notify.willTrigger(NotifyEvent.NOTIFY)) {
|
||||
notify.dispatchEvent(new NotifyEvent(notify));
|
||||
}
|
||||
var nt:AnimationNotify = notify;
|
||||
notify = notify.processNext;
|
||||
nt.processNext = null;
|
||||
}
|
||||
nearestNotifyers = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user