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:
ecc8b70
)
Dont make fastface if tile is not seamless
author
RealBadAngel
<maciej.kasatkin@o2.pl>
Sat, 20 Feb 2016 05:53:56 +0000
(06:53 +0100)
committer
est31
<MTest31@outlook.com>
Sun, 21 Feb 2016 16:30:16 +0000
(17:30 +0100)
Fixes #3378
Closes #3751
src/mapblock_mesh.cpp
patch
|
blob
|
history
diff --git
a/src/mapblock_mesh.cpp
b/src/mapblock_mesh.cpp
index 42e84b75eca20783090d1fc77d0b83ecdedfab28..e1ec50ab08ff9946528b2eb690d999130a97fc94 100644
(file)
--- a/
src/mapblock_mesh.cpp
+++ b/
src/mapblock_mesh.cpp
@@
-885,8
+885,9
@@
static void updateFastFaceRow(
&& next_lights[3] == lights[3]
&& next_tile == tile
&& tile.rotation == 0
- && next_light_source == light_source)
- {
+ && next_light_source == light_source
+ && (tile.material_flags & MATERIAL_FLAG_TILEABLE_HORIZONTAL)
+ && (tile.material_flags & MATERIAL_FLAG_TILEABLE_VERTICAL)) {
next_is_different = false;
}
else{