From 770eb09adcca5e8d7b1d3b441a130fb9338759e2 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Sat, 16 Dec 2017 19:01:37 +0300 Subject: Fix items turning black (#6780) --- src/wieldmesh.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/wieldmesh.cpp') diff --git a/src/wieldmesh.cpp b/src/wieldmesh.cpp index db256c618..18aae3193 100644 --- a/src/wieldmesh.cpp +++ b/src/wieldmesh.cpp @@ -320,11 +320,7 @@ scene::SMesh *createSpecialNodeMesh(Client *client, content_t id, std::vectorMaterial.setTexture(0, p.layer.texture); - buf->Material.setTexture(1, p.layer.normal_texture); - buf->Material.setTexture(2, p.layer.flags_texture); p.layer.applyMaterialOptions(buf->Material); mesh->addMeshBuffer(buf); buf->append(&p.vertices[0], p.vertices.size(), -- cgit v1.2.3