mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-30 19:13:53 +01:00
Minor layout tweaks
This commit is contained in:
parent
db5d25d1de
commit
1cad9f4064
@ -10,7 +10,7 @@ return function(size, sigma)
|
|||||||
if size < 1 then
|
if size < 1 then
|
||||||
return false, "Error: Invalid brush size."
|
return false, "Error: Invalid brush size."
|
||||||
end
|
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
|
-- Normalise values to fill the range 0 - 1
|
||||||
-- By default, wea.conv.kernel_gaussian values add up to 1 in total
|
-- By default, wea.conv.kernel_gaussian values add up to 1 in total
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
local wea = worldeditadditions
|
local wea = worldeditadditions
|
||||||
local Vector3 = wea.Vector3
|
local Vector3 = wea.Vector3
|
||||||
|
|
||||||
local __smooth = dofile(wea.modpath.."/lib/sculpt/brushes/__smooth.lua")
|
|
||||||
|
|
||||||
return function(size)
|
return function(size)
|
||||||
local brush = {}
|
local brush = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user