mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-05 06:53:52 +01:00
added init for lib/selectors
This commit is contained in:
parent
af1640c4da
commit
325f1cc11e
@ -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")
|
||||||
|
@ -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..")")
|
||||||
|
8
worldeditadditions/lib/selection/init.lua
Normal file
8
worldeditadditions/lib/selection/init.lua
Normal 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")
|
0
worldeditadditions/lib/selection/resize_helpers.lua
Normal file
0
worldeditadditions/lib/selection/resize_helpers.lua
Normal file
Loading…
Reference in New Issue
Block a user