Oops; fixed incorrectly placed try/catch.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1646 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Walter Korman
2002-08-15 20:56:08 +00:00
parent ec765c0258
commit 2ed4b6e0c4
@@ -1,5 +1,5 @@
// //
// $Id: AnimationManager.java,v 1.11 2002/08/15 20:53:24 shaper Exp $ // $Id: AnimationManager.java,v 1.12 2002/08/15 20:56:08 shaper Exp $
package com.threerings.media.animation; package com.threerings.media.animation;
@@ -133,12 +133,14 @@ public class AnimationManager
for (int ii = 0; ii < size; ii++) { for (int ii = 0; ii < size; ii++) {
Animation anim = (Animation)_anims.get(ii); Animation anim = (Animation)_anims.get(ii);
int order = anim.getRenderOrder(); int order = anim.getRenderOrder();
try {
if (((layer == ALL) || if (((layer == ALL) ||
(layer == FRONT && order >= 0) || (layer == FRONT && order >= 0) ||
(layer == BACK && order < 0)) && (layer == BACK && order < 0)) &&
try {
clip.intersects(anim.getBounds())) { clip.intersects(anim.getBounds())) {
anim.paint(gfx); anim.paint(gfx);
}
} catch (Exception e) { } catch (Exception e) {
Log.warning("Failed to render animation " + Log.warning("Failed to render animation " +
"[anim=" + anim + ", e=" + e + "]."); "[anim=" + anim + ", e=" + e + "].");
@@ -146,7 +148,6 @@ public class AnimationManager
} }
} }
} }
}
/** Used to accumulate dirty regions. */ /** Used to accumulate dirty regions. */
protected RegionManager _remgr; protected RegionManager _remgr;