From 4175ec61da34a271adf66570e52377107b531d8e Mon Sep 17 00:00:00 2001 From: Mark Johnson Date: Thu, 19 Oct 2006 18:29:28 +0000 Subject: [PATCH] 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 --- .../threerings/cast/bundle/BundledComponentRepository.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/java/com/threerings/cast/bundle/BundledComponentRepository.java b/src/java/com/threerings/cast/bundle/BundledComponentRepository.java index fb6d3f66..e73b848d 100644 --- a/src/java/com/threerings/cast/bundle/BundledComponentRepository.java +++ b/src/java/com/threerings/cast/bundle/BundledComponentRepository.java @@ -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) {