0x255 isn't a number!

This commit is contained in:
David Vierra 2011-03-13 16:29:42 -10:00
parent 4b36564e43
commit cf4f6d7ece

View File

@ -65,7 +65,7 @@ class MCMaterials(object):
self.lightAbsorption = zeros(256, dtype='uint8')
self.lightAbsorption[:] = self.defaultOpacity
self.flatColors = zeros((256, 16, 4), dtype='uint8')
self.flatColors[:] = (0xc9, 0x77, 0xf0, 0x255)
self.flatColors[:] = (0xc9, 0x77, 0xf0, 0xff)
#flat colors borrowed from c10t. https://github.com/udoprog/c10t
defaultColors = array([