Add Lattice Magic to Addons #48

Merged
Nick Alberelli merged 36 commits from feature/lattice_magic into main 2023-05-17 20:48:52 +02:00
Showing only changes of commit b4b7ae05b4 - Show all commits

View File

@ -41,7 +41,7 @@ def ensure_falloff_vgroup(
vg = lattice_ob.vertex_groups.get(vg_name)
center = Vector((res_x/2, res_y/2, res_z/2))
center = Vector((res_x-1, res_y-1, res_z-1))/2
max_res = max(res_x, res_y, res_z)
if not vg: