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:
b21c7de
)
disable tiling of textures only if smooth lighting is used
author
Perttu Ahola
<celeron55@gmail.com>
Sun, 24 Apr 2011 09:39:33 +0000
(12:39 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Sun, 24 Apr 2011 09:39:33 +0000
(12:39 +0300)
src/mapblock.cpp
patch
|
blob
|
history
diff --git
a/src/mapblock.cpp
b/src/mapblock.cpp
index 824f7dc8acc901fa67b7324f2b892931dedee0b8..e98ec6e96ef64d92430d00317f78bcd344e28516 100644
(file)
--- a/
src/mapblock.cpp
+++ b/
src/mapblock.cpp
@@
-468,7
+468,12
@@
void updateFastFaceRow(
end_of_texture = true;
}
- end_of_texture = true; //DEBUG
+ // Do this to disable tiling textures
+ //end_of_texture = true; //DEBUG
+
+ // Disable tiling of textures if smooth lighting is used
+ if(smooth_lighting)
+ end_of_texture = true;
if(next_is_different || end_of_texture)
{