From 1e5f623cbb24bd312d54a23597ba8501359c0d6f Mon Sep 17 00:00:00 2001 From: Anthony Zhang Date: Sat, 22 Jun 2013 23:08:51 -0400 Subject: Super-speed a few primitives and visualization functions, including hollowsphere, sphere, hollowdome, dome, and suppress. --- worldedit/manipulations.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'worldedit/manipulations.lua') 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 -- cgit v1.2.3