Let's allow crop mask images to be optional as well

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@61 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Mark Johnson
2006-10-19 18:29:28 +00:00
parent a2f36abd2b
commit 4175ec61da
@@ -345,9 +345,10 @@ public class BundledComponentRepository
// if that failed too, we're hosed
if (aset == null) {
// if this is a shadow image, no need to freak out as they
// are optional
if (!StandardActions.SHADOW_TYPE.equals(type)) {
// if this is a shadow or crop image, no need to freak out
// as they are optional
if (!StandardActions.CROP_TYPE.equals(type) &&
!StandardActions.SHADOW_TYPE.equals(type)) {
Log.warning("Unable to locate tileset for action '" +
imgpath + "' " + component + ".");
if (_wipeOnFailure) {