mirror of
https://github.com/minetest/minetest.git
synced 2024-11-09 01:03:46 +01:00
parent
0c6a029413
commit
bccaf5fc2d
@ -901,8 +901,15 @@ void ContentFeatures::updateTextures(ITextureSource *tsrc, IShaderSource *shdsrc
|
|||||||
solidness = 0;
|
solidness = 0;
|
||||||
visual_solidness = 1;
|
visual_solidness = 1;
|
||||||
} else {
|
} else {
|
||||||
drawtype = NDT_NORMAL;
|
if (waving >= 1) {
|
||||||
solidness = 2;
|
// waving nodes must make faces so there are no gaps
|
||||||
|
drawtype = NDT_ALLFACES;
|
||||||
|
solidness = 0;
|
||||||
|
visual_solidness = 1;
|
||||||
|
} else {
|
||||||
|
drawtype = NDT_NORMAL;
|
||||||
|
solidness = 2;
|
||||||
|
}
|
||||||
for (TileDef &td : tdef)
|
for (TileDef &td : tdef)
|
||||||
td.name += std::string("^[noalpha");
|
td.name += std::string("^[noalpha");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user