Closed GoogleCodeExporter closed 9 years ago
That's quite strange, the two versions are the same and the second one
shouldn't correct the issue. Moreover, the line 196 in TweenManager corresponds
to "i -= 1;" and not to the get() call.
However, I spotted a bug in the engine. It shouldn't affect you but I would
appreciate if you could tell me if the latest revision fixes your bug or not. I
packaged the revision in the following jar:
http://dl.dropbox.com/u/16375762/tween-engine-api-5.2.1.zip
Original comment by aurelien.ribon
on 10 Nov 2011 at 1:03
Thanks, I tried 5.2.1, but it crashes either:
Exception in thread "LWJGL Application" java.lang.IndexOutOfBoundsException:
Index: 12, Size: 2
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at aurelienribon.tweenengine.TweenManager.update(TweenManager.java:178)
About the line number: I played around with the code, that's why it didn't
match yours. The one above does.
I know these two versions _should_ be the same... But this change certainly
doesn't break anything in your function, and if it fixes this weird problem,
maybe you could change it in your code as well? :)
Original comment by Thotep
on 10 Nov 2011 at 8:07
I changed the code to the previous working version. The list size is checked on
each pass. Can you tell me if it fixes your issue ?
http://dl.dropbox.com/u/16375762/tween-engine-api-5.2.1.zip
Anyway, sorry about the inconvenience, couldn't have imagined such code would
lead to errors...
Original comment by aurelien.ribon
on 11 Nov 2011 at 1:29
[deleted comment]
Sorry for the delay. This version seems to have fixed it. Thanks!
Is it the same as the official 5.2.1?
Original comment by Thotep
on 16 Nov 2011 at 7:41
Thanks :)
It thought it was the case, so released 5.2.1 anyway (it is the same yes) :D
Original comment by aurelien.ribon
on 16 Nov 2011 at 8:36
Original issue reported on code.google.com by
Thotep
on 9 Nov 2011 at 10:16