LuaVoxelManip: Add option to allocate blank data
[oweals/minetest.git] / src / wieldmesh.cpp
index 1c0d0da9cc0d8ed46d0a6a177b783f05739ebe82..bde0b72afe9f0e69ac92850e59f31dbc79dd2633 100644 (file)
@@ -304,7 +304,7 @@ void WieldMeshSceneNode::setItem(const ItemStack &item, IGameDef *gamedef)
 {
        ITextureSource *tsrc = gamedef->getTextureSource();
        IItemDefManager *idef = gamedef->getItemDefManager();
-       IShaderSource *shdrsrc = gamedef->getShaderSource();
+       //IShaderSource *shdrsrc = gamedef->getShaderSource();
        INodeDefManager *ndef = gamedef->getNodeDefManager();
        const ItemDefinition &def = item.getDefinition(idef);
        const ContentFeatures &f = ndef->get(def.name);