mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 23:42:59 +00:00
//layers: comment debug
This commit is contained in:
parent
f5f486f303
commit
35777b7ae5
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ function worldeditadditions.layers(pos1, pos2, node_weights, min_slope, max_slop
|
||||||
manip, area, data
|
manip, area, data
|
||||||
)
|
)
|
||||||
local slopemap = wea.calculate_slopes(heightmap, heightmap_size)
|
local slopemap = wea.calculate_slopes(heightmap, heightmap_size)
|
||||||
worldeditadditions.format.array_2d(heightmap, heightmap_size.x)
|
-- worldeditadditions.format.array_2d(heightmap, heightmap_size.x)
|
||||||
print_slopes(slopemap, heightmap_size.x)
|
-- print_slopes(slopemap, heightmap_size.x)
|
||||||
--luacheck:ignore 311
|
--luacheck:ignore 311
|
||||||
heightmap = nil -- Just in case Lua wants to garbage collect it
|
heightmap = nil -- Just in case Lua wants to garbage collect it
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue