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:
@@ -345,9 +345,10 @@ public class BundledComponentRepository
|
|||||||
|
|
||||||
// if that failed too, we're hosed
|
// if that failed too, we're hosed
|
||||||
if (aset == null) {
|
if (aset == null) {
|
||||||
// if this is a shadow image, no need to freak out as they
|
// if this is a shadow or crop image, no need to freak out
|
||||||
// are optional
|
// as they are optional
|
||||||
if (!StandardActions.SHADOW_TYPE.equals(type)) {
|
if (!StandardActions.CROP_TYPE.equals(type) &&
|
||||||
|
!StandardActions.SHADOW_TYPE.equals(type)) {
|
||||||
Log.warning("Unable to locate tileset for action '" +
|
Log.warning("Unable to locate tileset for action '" +
|
||||||
imgpath + "' " + component + ".");
|
imgpath + "' " + component + ".");
|
||||||
if (_wipeOnFailure) {
|
if (_wipeOnFailure) {
|
||||||
|
|||||||
Reference in New Issue
Block a user