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
This commit is contained in:
@@ -345,18 +345,16 @@ public class BundledComponentRepository
|
|||||||
_setcache.put(dpath, aset);
|
_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 that failed too, we're hosed
|
||||||
if (aset == null) {
|
if (aset == null) {
|
||||||
Log.warning("Unable to locate tileset for action '" +
|
// if this is a shadow image, no need to freak out as they
|
||||||
imgpath + "' " + component + ".");
|
// are optional
|
||||||
if (_wipeOnFailure) {
|
if (!StandardActions.SHADOW_TYPE.equals(type)) {
|
||||||
_bundle.wipeBundle(false);
|
Log.warning("Unable to locate tileset for action '" +
|
||||||
|
imgpath + "' " + component + ".");
|
||||||
|
if (_wipeOnFailure) {
|
||||||
|
_bundle.wipeBundle(false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user