Don't cook quads if testing without GL
This commit is contained in:
parent
472f248063
commit
d200e310ea
@ -200,7 +200,8 @@ class TextureAtlas(object):
|
||||
usedSize = sum(sum(width * height for _, _, _, width, height, _ in slot.textures) for slot in slots) * 4
|
||||
log.info("Terrain atlas created for world %s (%d/%d kB)", util.displayName(self._filename), usedSize / 1024,
|
||||
totalSize / 1024)
|
||||
self.blockModels.cookQuads(self)
|
||||
if self.overrideMaxSize is None:
|
||||
self.blockModels.cookQuads(self)
|
||||
|
||||
#file("terrain-%sw-%sh.raw" % (atlasWidth, atlasHeight), "wb").write(texData.tostring())
|
||||
#raise SystemExit
|
||||
|
Reference in New Issue
Block a user