Permalink
Browse files

Final changes and version number bump.

  • Loading branch information...
Uberi committed Aug 2, 2013
1 parent 416ffb3 commit 8bd5db51b2cedd0f1b6f545d11b66bae0cff8a41
Showing with 4 additions and 6 deletions.
  1. +2 −2 README.md
  2. +0 −2 worldedit/manipulations.lua
  3. +2 −2 worldedit_commands/mark.lua
@@ -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.

@@ -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}
@@ -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

0 comments on commit 8bd5db5

Please sign in to comment.