1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-06 17:41:04 +00:00

Rotate meshnode normals correctly instead of recalculating

This commit is contained in:
Lars Mueller 2024-12-09 00:45:37 +01:00 committed by sfan5
parent 21437090b8
commit 3c5e0d10fc
2 changed files with 8 additions and 6 deletions

View file

@ -1673,8 +1673,6 @@ void MapblockMeshGenerator::drawMeshNode()
modified = false;
if (modified) {
recalculateBoundingBox(mesh);
// FIXME: we should rotate the normals too, instead of recalculating
meshmanip->recalculateNormals(mesh, true, false);
}
} else {
warningstream << "drawMeshNode(): missing mesh" << std::endl;