From 14e6d9346ccf9d085ed56f303a976d61a8f0cc9f Mon Sep 17 00:00:00 2001 From: David Hoover Date: Mon, 3 Dec 2012 10:44:28 -0800 Subject: [PATCH] Probably a nice touch to set a default. Not that NPEing when you don't go out of your way to use the new stuff isn't fun... --- .../threerings/media/tile/bundle/tools/TileSetBundler.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/threerings/media/tile/bundle/tools/TileSetBundler.java b/src/main/java/com/threerings/media/tile/bundle/tools/TileSetBundler.java index e0ac8701..fb470f46 100644 --- a/src/main/java/com/threerings/media/tile/bundle/tools/TileSetBundler.java +++ b/src/main/java/com/threerings/media/tile/bundle/tools/TileSetBundler.java @@ -207,7 +207,11 @@ public void create () boolean trim = true; boolean raw = true; - Supplier packer; + Supplier packer = new Supplier() { + public TileSetTrimmer.Packer get () { + return new TileSetTrimmer.StripPacker(); + } + }; String imageBase; JSONConversion.Config json; }