mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-26 00:53:00 +00:00
Minor layout tweaks
This commit is contained in:
parent
db5d25d1de
commit
1cad9f4064
2 changed files with 1 additions and 2 deletions
|
@ -10,7 +10,7 @@ return function(size, sigma)
|
|||
if size < 1 then
|
||||
return false, "Error: Invalid brush size."
|
||||
end
|
||||
local success, gaussian = worldeditadditions.conv.kernel_gaussian(size, sigma)
|
||||
local success, gaussian = wea.conv.kernel_gaussian(size, sigma)
|
||||
|
||||
-- Normalise values to fill the range 0 - 1
|
||||
-- By default, wea.conv.kernel_gaussian values add up to 1 in total
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
local wea = worldeditadditions
|
||||
local Vector3 = wea.Vector3
|
||||
|
||||
local __smooth = dofile(wea.modpath.."/lib/sculpt/brushes/__smooth.lua")
|
||||
|
||||
return function(size)
|
||||
local brush = {}
|
||||
|
|
Loading…
Reference in a new issue