1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-22 20:35:24 +02:00

Resolve some quirks with (wield) item meshes for nodes (#15654)

This commit is contained in:
sfan5
2025-01-13 09:39:06 +01:00
committed by GitHub
parent 464cc92521
commit 636a734d78
8 changed files with 78 additions and 178 deletions

View File

@@ -1781,11 +1781,3 @@ void MapblockMeshGenerator::generate()
drawNode();
}
}
void MapblockMeshGenerator::renderSingle(content_t node, u8 param2)
{
cur_node.p = {0, 0, 0};
cur_node.n = MapNode(node, 0xff, param2);
cur_node.f = &nodedef->get(cur_node.n);
drawNode();
}