1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00: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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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();
}