Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed: Missing/bugged plant and grass graphics on some systems.

  • Loading branch information...
commit 7be739001861a57514d8c0e8e8a2a701a44bee0d 1 parent 963d2a7
@codewarrior0 codewarrior0 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  renderer.py
View
2  renderer.py
@@ -1326,7 +1326,7 @@ def makePlantVertices(self, facingBlockIndices, blocks, blockMaterials, blockDat
vertexArray[_ST] += texes[:, numpy.newaxis, 0:2]
- vertexArray.view('uint8')[_RGBA] = 0xf # ignore precomputed directional light
+ vertexArray.view('uint8')[_RGB] = 0xf # ignore precomputed directional light
vertexArray.view('uint8')[_RGB] *= lights
if colorize is not None:
vertexArray.view('uint8')[_RGB][colorize] *= LeafBlockRenderer.leafColor
Please sign in to comment.
Something went wrong with that request. Please try again.