Add Lattice Magic
to Addons
#48
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user