0

Fix missing import

This commit is contained in:
Xon
2011-03-28 19:32:41 +08:00
parent ff7e9d0794
commit db7c61a090

View File

@@ -62,6 +62,7 @@ def pool_initializer(rendernode):
child_rendernode = rendernode child_rendernode = rendernode
for quadtree in rendernode.quadtrees: for quadtree in rendernode.quadtrees:
if quadtree.world.useBiomeData: if quadtree.world.useBiomeData:
import textures
# make sure we've at least *tried* to load the color arrays in this process... # make sure we've at least *tried* to load the color arrays in this process...
textures.prepareBiomeData(quadtree.world.worlddir) textures.prepareBiomeData(quadtree.world.worlddir)
if not textures.grasscolor or not textures.foliagecolor: if not textures.grasscolor or not textures.foliagecolor: