mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 07:23:00 +00:00
//erode snowballs: Fix assignment to global variable; slightly refactor changelog
Sincce we've got a number of bugfixes here and the changelog is getting a bit longer, I've split bugfixes up.
This commit is contained in:
parent
912371f5b6
commit
75a5f14f01
2 changed files with 7 additions and 4 deletions
|
@ -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)
|
## v1.12: The selection tools update (unreleased)
|
||||||
- Add `//spush`, `//spop`, and `//sstack`
|
- 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 `//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!
|
- 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)
|
- 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
|
- 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`, `//hollowtorus`: Add optional new axes
|
||||||
- `//torus`: Add optional hollow keyword
|
- `//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)
|
## v1.11: The big data update (25th January 2021)
|
||||||
|
|
|
@ -132,7 +132,7 @@ function worldeditadditions.erode.snowballs(heightmap_initial, heightmap, height
|
||||||
if not params.noconv then
|
if not params.noconv then
|
||||||
local success, matrix = worldeditadditions.get_conv_kernel("gaussian", 3, 3)
|
local success, matrix = worldeditadditions.get_conv_kernel("gaussian", 3, 3)
|
||||||
if not success then return success, matrix end
|
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(
|
worldeditadditions.conv.convolve(
|
||||||
heightmap, heightmap_size,
|
heightmap, heightmap_size,
|
||||||
matrix,
|
matrix,
|
||||||
|
|
Loading…
Reference in a new issue