1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2025-07-10 03:50:26 +02:00

Even bigger speed gains by using LuaVoxelManipulator in a few choice places! Faster //set, //cylinder, etc., but plenty of room for improvements still.

This commit is contained in:
Anthony Zhang
2013-07-12 14:22:30 -04:00
parent b6bc841c39
commit ac5e801834
8 changed files with 161 additions and 97 deletions

View File

@ -276,8 +276,8 @@ Executes <code> as a Lua chunk in the global namespace.
Executes <code> as a Lua chunk in the global namespace with the variable pos available, for each node in the current WorldEdit region.
//luatransform minetest.env:add_node(pos, {name="default:stone"})
//luatransform if minetest.env:get_node(pos).name == "air" then minetest.env:add_node(pos, {name="default:water_source"})
//luatransform minetest.add_node(pos, {name="default:stone"})
//luatransform if minetest.get_node(pos).name == "air" then minetest.env:add_node(pos, {name="default:water_source"})
### //mtschemcreate <file>