forked from Mirrorlandia_minetest/minetest
Revert "Plantlike: Fix visual_scale being applied squared (#5115)"
This reverts commit 953cbb3b15997a0e7c7c32af2365cb5046a9e476.
This commit is contained in:
parent
7bd3e2bceb
commit
7760948b7c
@ -1602,6 +1602,8 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
|
||||
}
|
||||
|
||||
for (int i = 0; i < 4; i++) {
|
||||
vertices[i].Pos *= f.visual_scale;
|
||||
vertices[i].Pos.Y += BS/2 * (f.visual_scale - 1);
|
||||
if (data->m_smooth_lighting)
|
||||
vertices[i].Color = blendLight(frame, vertices[i].Pos, tile.color);
|
||||
vertices[i].Pos += intToFloat(p, BS);
|
||||
|
Loading…
Reference in New Issue
Block a user