From 67c42dda0bebecc9ad649f2c3b4a20712dbc0100 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Fri, 14 Apr 2006 21:52:06 +0000 Subject: [PATCH] Just fail to freak out, don't fail to load shadows at all. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4023 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../bundle/BundledComponentRepository.java | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/java/com/threerings/cast/bundle/BundledComponentRepository.java b/src/java/com/threerings/cast/bundle/BundledComponentRepository.java index 44acb8977..c35908cad 100644 --- a/src/java/com/threerings/cast/bundle/BundledComponentRepository.java +++ b/src/java/com/threerings/cast/bundle/BundledComponentRepository.java @@ -345,18 +345,16 @@ public class BundledComponentRepository _setcache.put(dpath, aset); } - // if this is a shadow image, no need to freak out as they are - // optional - if (StandardActions.SHADOW_TYPE.equals(type)) { - return null; - } - // if that failed too, we're hosed if (aset == null) { - Log.warning("Unable to locate tileset for action '" + - imgpath + "' " + component + "."); - if (_wipeOnFailure) { - _bundle.wipeBundle(false); + // if this is a shadow image, no need to freak out as they + // are optional + if (!StandardActions.SHADOW_TYPE.equals(type)) { + Log.warning("Unable to locate tileset for action '" + + imgpath + "' " + component + "."); + if (_wipeOnFailure) { + _bundle.wipeBundle(false); + } } return null; }