Log image dimensions when given a badly sized image.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1822 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Walter Korman
2002-10-22 02:05:42 +00:00
parent 2a26c76006
commit ea6733ba20
@@ -1,5 +1,5 @@
//
// $Id: BackgroundTiler.java,v 1.4 2002/10/22 02:02:40 shaper Exp $
// $Id: BackgroundTiler.java,v 1.5 2002/10/22 02:05:42 shaper Exp $
package com.threerings.media.util;
@@ -39,7 +39,8 @@ public class BackgroundTiler
// make sure the image suits our minimum useful dimensions
if (_w3 <= 0 || _cw3 <= 0 || _h3 <= 0 || _ch3 <= 0) {
Log.warning("Backgrounder given source image of insufficient " +
"size for tiling [src=" + src + "].");
"size for tiling " +
"[width=" + _width + ", height=" + _height + "].");
return;
}