From 0ab56ce1d9db4f7686ffd450c7c7287705679919 Mon Sep 17 00:00:00 2001 From: Aaron Griffith Date: Sat, 1 Jan 2011 15:45:36 -0800 Subject: [PATCH] made sure biome color arrays are loaded in each thread --- chunk.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chunk.py b/chunk.py index b3e702c..573fbb5 100644 --- a/chunk.py +++ b/chunk.py @@ -211,6 +211,8 @@ class ChunkRenderer(object): if self.world.useBiomeData: + # make sure we've at least *tried* to load the color arrays in this process... + textures.prepareBiomeData(self.world.worlddir) if not textures.grasscolor or not textures.foliagecolor: raise Exception("Can't find grasscolor.png or foliagecolor.png")