Skip to content
Browse files

Fix items turning black (#6780)

  • Loading branch information...
numberZero authored and SmallJoker committed Dec 16, 2017
1 parent fd71a7c commit 770eb09adcca5e8d7b1d3b441a130fb9338759e2
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/wieldmesh.cpp
@@ -320,11 +320,7 @@ scene::SMesh *createSpecialNodeMesh(Client *client, content_t id, std::vector<It
for (video::S3DVertex &v : p.vertices)
scene::SMeshBuffer *buf = new scene::SMeshBuffer();
// always set all textures
// with no shaders only texture 0 is ever actually used
buf->Material.setTexture(0, p.layer.texture);
buf->Material.setTexture(1, p.layer.normal_texture);
buf->Material.setTexture(2, p.layer.flags_texture);
buf->append(&p.vertices[0], p.vertices.size(),

0 comments on commit 770eb09

Please sign in to comment.
You can’t perform that action at this time.