From dff4f4aea816527bbb502bf094dd22a8bb606932 Mon Sep 17 00:00:00 2001 From: Ryan McCue Date: Sat, 11 Dec 2010 21:22:58 +1000 Subject: [PATCH] Add debugging info --- chunk.py | 1 + 1 file changed, 1 insertion(+) diff --git a/chunk.py b/chunk.py index c5dec69..32d74b5 100644 --- a/chunk.py +++ b/chunk.py @@ -306,6 +306,7 @@ class ChunkRenderer(object): oldimg = oldimg_path = None key = ".".join((self.dirbits[0], self.dirbits[1], self.blockid, "cave" if cave else "nocave")) if key in self.world.cached: + print "Found cached image {0}".format(key) oldimg_path = self.world.cached[key] _, oldimg = os.path.split(oldimg_path) return oldimg, oldimg_path