]> git.lizzy.rs Git - worldedit.git/blobdiff - worldedit/cuboid.lua
Move worldedit.marker_update
[worldedit.git] / worldedit / cuboid.lua
index d98e25c3e16feef5bc9c22f48046eb58e6270e1f..d27e2333accd838646d44255a440da44c02e54a6 100644 (file)
@@ -98,21 +98,6 @@ worldedit.marker_move = function(name, marker, deltavector)
        return true
 end
 
--- Updates the location ingame of the markers
-worldedit.marker_update = function(name, marker)
-       if marker == nil then
-               worldedit.mark_pos1(name)
-               worldedit.mark_pos2(name)
-       elseif marker == 1 then
-               worldedit.mark_pos1(name)
-       elseif marker == 2 then
-               worldedit.mark_pos2(name)
-       else
-               minetest.debug(
-                       "worldedit: Invalid execution of function update_markers")
-       end
-end
-
 
 -- Returns two vectors with the directions for volumetric expansion
 worldedit.get_expansion_directions = function(mark1, mark2)