summaryrefslogtreecommitdiff
path: root/worldedit/manipulations.lua
diff options
context:
space:
mode:
authorAnthony Zhang <azhang9@gmail.com>2013-06-22 23:08:51 -0400
committerAnthony Zhang <azhang9@gmail.com>2013-06-22 23:08:51 -0400
commit1e5f623cbb24bd312d54a23597ba8501359c0d6f (patch)
treec3539c3b95be518c0d1a6487be7a02a089b146b4 /worldedit/manipulations.lua
parent58970e7fab96c6d2883ee8c14ee84b07dc8acdfc (diff)
Super-speed a few primitives and visualization functions, including hollowsphere, sphere, hollowdome, dome, and suppress.
Diffstat (limited to 'worldedit/manipulations.lua')
-rw-r--r--worldedit/manipulations.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/worldedit/manipulations.lua b/worldedit/manipulations.lua
index 0a13206..73ec72a 100644
--- a/worldedit/manipulations.lua
+++ b/worldedit/manipulations.lua
@@ -67,7 +67,7 @@ worldedit.replaceinverse = function(pos1, pos2, searchnode, replacenode, env)
local pos = {x=pos1.x, y=0, z=0}
local node = {name=replacenode}
local count = 0
- while pos.x <= pos2.x do --wip: see if this can be sped up like worldedit.replace
+ while pos.x <= pos2.x do --wip: see if this can be sped up like worldedit.replace, except with hashed found node positions and testing against the set
pos.y = pos1.y
while pos.y <= pos2.y do
pos.z = pos1.z