Remove todos

This commit is contained in:
Starbeamrainbowlabs 2018-05-20 14:51:30 +01:00
parent a9d8dab77c
commit 083f7a2967
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 0 additions and 3 deletions

View file

@ -68,8 +68,6 @@ function worldedit.floodfill(start_pos, radius, replace_node)
while Queue.is_empty(remaining_nodes) == false do while Queue.is_empty(remaining_nodes) == false do
local cur = Queue.dequeue(remaining_nodes) local cur = Queue.dequeue(remaining_nodes)
-- TODO: Check distance from start_pos
-- Replace this node -- Replace this node
data[cur] = replace_id data[cur] = replace_id
count = count + 1 count = count + 1

View file

@ -28,7 +28,6 @@ minetest.register_chatcommand("/floodfill", {
params = "<replace_node> [<radius>]", params = "<replace_node> [<radius>]",
description = "Floods all connected nodes of the same type starting at pos1 with <replace_node>, in a box-shape with a radius of <radius>, which defaults to 50.", description = "Floods all connected nodes of the same type starting at pos1 with <replace_node>, in a box-shape with a radius of <radius>, which defaults to 50.",
privs = { worldedit = true }, privs = { worldedit = true },
-- TODO: Integrate will the safe_region feature of regular worldedit
func = safe_region(function(name, params_text) func = safe_region(function(name, params_text)
local replace_node, radius = parse_params_floodfill(params_text) local replace_node, radius = parse_params_floodfill(params_text)