projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Optimise MapBlockMesh related functions
[oweals/minetest.git]
/
src
/
voxel.cpp
diff --git
a/src/voxel.cpp
b/src/voxel.cpp
index 8ac786aab461d7fa114549aade4f1ff7345bba57..a5e0b09fe7517ce334050a29fa7259329021289a 100644
(file)
--- a/
src/voxel.cpp
+++ b/
src/voxel.cpp
@@
-621,6
+621,8
@@
void VoxelManipulator::spreadLight(enum LightBank bank,
}
#endif
+const MapNode VoxelManipulator::ContentIgnoreNode = MapNode(CONTENT_IGNORE);
+
#if 1
/*
Lights neighbors of from_nodes, collects all them and then