added init for lib/selectors

This commit is contained in:
VorTechnix 2021-08-02 13:29:55 -07:00
parent af1640c4da
commit 325f1cc11e
4 changed files with 10 additions and 3 deletions

View file

@ -63,8 +63,8 @@ dofile(wea.modpath.."/lib/ellipsoidapply.lua")
dofile(wea.modpath.."/lib/airapply.lua") dofile(wea.modpath.."/lib/airapply.lua")
dofile(wea.modpath.."/lib/subdivide.lua") dofile(wea.modpath.."/lib/subdivide.lua")
dofile(wea.modpath.."/lib/selection/stack.lua")
dofile(wea.modpath.."/lib/selection/cloud.lua") dofile(wea.modpath.."/lib/selection/init.lua") -- Helpers for selections
dofile(wea.modpath.."/lib/wireframe/corner_set.lua") dofile(wea.modpath.."/lib/wireframe/corner_set.lua")
dofile(wea.modpath.."/lib/wireframe/make_compass.lua") dofile(wea.modpath.."/lib/wireframe/make_compass.lua")

View file

@ -4,7 +4,6 @@
-- ██ ██ ██ ██ ██ ██ ██ ██ -- ██ ██ ██ ██ ██ ██ ██ ██
-- ██████ ███████ ██████ ██████ ██████ -- ██████ ███████ ██████ ██████ ██████
worldeditadditions.add_pos = {} worldeditadditions.add_pos = {}
worldeditadditions.selection = {}
function worldeditadditions.selection.add_point(name, pos) function worldeditadditions.selection.add_point(name, pos)
if pos ~= nil then if pos ~= nil then
-- print("[set_pos1]", name, "("..pos.x..", "..pos.y..", "..pos.z..")") -- print("[set_pos1]", name, "("..pos.x..", "..pos.y..", "..pos.z..")")

View file

@ -0,0 +1,8 @@
local wea = worldeditadditions
local wea_m = wea.modpath .. "/lib/selection/"
wea.selection = {}
dofile(wea_m.."cloud.lua")
dofile(wea_m.."resize_helpers.lua")
dofile(wea_m.."stack.lua")