Minor layout tweaks

This commit is contained in:
Starbeamrainbowlabs 2021-12-28 18:32:10 +00:00
parent db5d25d1de
commit 1cad9f4064
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 1 additions and 2 deletions

View file

@ -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

View file

@ -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 = {}