projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2af490
)
Make CONTENT_IGNORE to not block the view when occlusion culling
author
Perttu Ahola
<celeron55@gmail.com>
Thu, 3 Nov 2011 18:45:44 +0000
(20:45 +0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Thu, 3 Nov 2011 18:45:44 +0000
(20:45 +0200)
src/mapnode.cpp
patch
|
blob
|
history
diff --git
a/src/mapnode.cpp
b/src/mapnode.cpp
index 484fcbe0af3a8fddd1aac23d2cbcc18a0fef8a0e..847608040b20bf27ccfc6f0c17ddb879dfaf5a6d 100644
(file)
--- a/
src/mapnode.cpp
+++ b/
src/mapnode.cpp
@@
-164,6
+164,9
@@
void init_mapnode()
f->dug_item = std::string("MaterialItem2 ")+itos(i)+" 1";
}
+ // Make CONTENT_IGNORE to not block the view when occlusion culling
+ content_features(CONTENT_IGNORE).solidness = 0;
+
/*
Initialize mapnode content
*/