diff --git a/CHANGELOG.md b/CHANGELOG.md index 0719670..c3c8af3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,8 +5,6 @@ Note to self: See the bottom of this file for the release template text. ## v1.12: The selection tools update (unreleased) - Add `//spush`, `//spop`, and `//sstack` - - `//overlay`: Don't place nodes above water - - `//multi`: Improve resilience by handling some edge cases - Add `//srect` (_select rectangle_), `//scol` (_select column_), `//scube` (_select cube_) - thanks, @VorTechnix! - Add `//scloud` (_select point cloud_), `//scentre` (_select centre node(s)_), `//srel` (_select relative_) - thanks, @VorTechnix! - Significantly refactored backend utility functions (more to come in future updates) @@ -16,7 +14,12 @@ Note to self: See the bottom of this file for the release template text. - Caveat: Percentages are converted to a 1-in-N chance, but additionally that number is rounded down in some places - `//torus`, `//hollowtorus`: Add optional new axes - `//torus`: Add optional hollow keyword - - `//layers`: Fix crash duee to outdated debug code + +### Bugfixes + - `//overlay`: Don't place nodes above water + - `//multi`: Improve resilience by handling some edge cases + - `//layers`: Fix crash due to outdated debug code + - `//erode`/snowballs: Fix assignment to undeclared variable ## v1.11: The big data update (25th January 2021) diff --git a/worldeditadditions/lib/erode/snowballs.lua b/worldeditadditions/lib/erode/snowballs.lua index 34fce59..e582d2b 100644 --- a/worldeditadditions/lib/erode/snowballs.lua +++ b/worldeditadditions/lib/erode/snowballs.lua @@ -132,7 +132,7 @@ function worldeditadditions.erode.snowballs(heightmap_initial, heightmap, height if not params.noconv then local success, matrix = worldeditadditions.get_conv_kernel("gaussian", 3, 3) if not success then return success, matrix end - matrix_size = {} matrix_size[0] = 3 matrix_size[1] = 3 + local matrix_size = {} matrix_size[0] = 3 matrix_size[1] = 3 worldeditadditions.conv.convolve( heightmap, heightmap_size, matrix,