diff options
author | Vitaliy <numzer0@yandex.ru> | 2021-03-30 01:25:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-30 00:25:11 +0200 |
commit | 3b78a223717c69918a5af422e21561f47ec74ce1 (patch) | |
tree | aafa2961a6faafc58a2712dfcc277e662d149382 /src/nodedef.cpp | |
parent | fde2785fe363c55e8acfd17af71375a231df41c1 (diff) | |
download | minetest-3b78a223717c69918a5af422e21561f47ec74ce1.tar.xz |
Degrotate support for mesh nodes (#7840)
Diffstat (limited to 'src/nodedef.cpp')
-rw-r--r-- | src/nodedef.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nodedef.cpp b/src/nodedef.cpp index 8a1f6203b..3dcac439f 100644 --- a/src/nodedef.cpp +++ b/src/nodedef.cpp @@ -944,7 +944,8 @@ void ContentFeatures::updateTextures(ITextureSource *tsrc, IShaderSource *shdsrc if (param_type_2 == CPT2_COLOR || param_type_2 == CPT2_COLORED_FACEDIR || - param_type_2 == CPT2_COLORED_WALLMOUNTED) + param_type_2 == CPT2_COLORED_WALLMOUNTED || + param_type_2 == CPT2_COLORED_DEGROTATE) palette = tsrc->getPalette(palette_name); if (drawtype == NDT_MESH && !mesh.empty()) { |