Add a copy of the bounds rectangle when invalidated since it may be

destructively modified by the animation manager.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1118 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Walter Korman
2002-03-12 22:54:16 +00:00
parent 1d956214dd
commit 84c0bd70cd
@@ -1,5 +1,5 @@
//
// $Id: Animation.java,v 1.1 2002/01/11 16:17:33 shaper Exp $
// $Id: Animation.java,v 1.2 2002/03/12 22:54:16 shaper Exp $
package com.threerings.media.animation;
@@ -45,7 +45,7 @@ public abstract class Animation
*/
public void invalidate ()
{
_animmgr.addDirtyRect(_bounds);
_animmgr.addDirtyRect(new Rectangle(_bounds));
}
/**