1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2024-12-25 18:20:38 +01:00

Final changes and version number bump.

This commit is contained in:
Anthony Zhang 2013-08-01 23:53:38 -04:00
parent 416ffb3709
commit 8bd5db51b2
3 changed files with 4 additions and 6 deletions

View File

@ -1,6 +1,6 @@
WorldEdit v0.6 for MineTest 0.4.8+
WorldEdit v1.0 for MineTest 0.4.8+
==================================
In-game world editing for [Minetest](http://minetest.net/)! Tons of functionality to help with building, fixing, and more.
The ultimate in-game world editing tool for [Minetest](http://minetest.net/)! Tons of functionality to help with building, fixing, and more.
For more information, see the [forum topic](https://forum.minetest.net/viewtopic.php?id=572) at the Minetest forums.

View File

@ -1,8 +1,6 @@
worldedit = worldedit or {}
local minetest = minetest --local copy of global
--wip: fix the queue
--modifies positions `pos1` and `pos2` so that each component of `pos1` is less than or equal to its corresponding conent of `pos2`, returning two new positions
worldedit.sort_pos = function(pos1, pos2)
pos1 = {x=pos1.x, y=pos1.y, z=pos1.z}

View File

@ -28,7 +28,7 @@ worldedit.mark_pos1 = function(name)
if pos1 ~= nil then
--make area stay loaded
local manip = minetest.get_voxel_manip()
manip:read_from_map(pos1, pos1) --wip: see if this even works
manip:read_from_map(pos1, pos1)
end
if worldedit.marker1[name] ~= nil then --marker already exists
worldedit.marker1[name]:remove() --remove marker
@ -51,7 +51,7 @@ worldedit.mark_pos2 = function(name)
if pos2 ~= nil then
--make area stay loaded
local manip = minetest.get_voxel_manip()
manip:read_from_map(pos2, pos2) --wip: see if this even works
manip:read_from_map(pos2, pos2)
end
if worldedit.marker2[name] ~= nil then --marker already exists
worldedit.marker2[name]:remove() --remove marker