AnimPlayer.hws example bug

Report any Hollywood bugs here
Post Reply
User avatar
lazi
Posts: 632
Joined: Thu Feb 24, 2011 11:08 pm

AnimPlayer.hws example bug

Post by lazi »

As I viewed some YAFA animations with the AnimPlayer example figured out that there is a bug in the player script.

It can be triggered by doing a resize at the last frame position with the Esprita.anim or dragging the dragbar right out the window with any YAFA anims.

It can be fixed by insert these lines before line 58 (GetAnimFrame...):

frame=Min(frame,numframes)
frame=Max(frame,1)

However maybe the official fix will be something else. :)
User avatar
airsoftsoftwair
Posts: 5635
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: AnimPlayer.hws example bug

Post by airsoftsoftwair »

Right, thanks for the report :)
Post Reply