projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
426bdba
)
Fix texture rotation for wallmounted nodeboxes
author
sfan5
<sfan5@live.de>
Mon, 18 Mar 2019 21:41:39 +0000
(22:41 +0100)
committer
sfan5
<sfan5@live.de>
Tue, 19 Mar 2019 21:36:51 +0000
(22:36 +0100)
fixes #8358
src/client/mapblock_mesh.cpp
patch
|
blob
|
history
diff --git
a/src/client/mapblock_mesh.cpp
b/src/client/mapblock_mesh.cpp
index ed8a073de5792bbc92464b8f2ff820c3327f6773..6b5ba9f9da45af84bed5395c865d6c4270ff55bb 100644
(file)
--- a/
src/client/mapblock_mesh.cpp
+++ b/
src/client/mapblock_mesh.cpp
@@
-744,7
+744,7
@@
void getNodeTile(MapNode mn, const v3s16 &p, const v3s16 &dir, MeshMakeData *dat
u8 dir_i = ((dir.X + 2 * dir.Y + 3 * dir.Z) & 7) * 2;
// Get rotation for things like chests
- u8 facedir = mn.getFaceDir(ndef);
+ u8 facedir = mn.getFaceDir(ndef
, true
);
static const u16 dir_to_tile[24 * 16] =
{