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 dc4c299d69 - Show all commits

View File

@ -268,6 +268,8 @@ class CAMLAT_OT_Generate(bpy.types.Operator):
if m.type == 'SURFACE_DEFORM' and m.target in all_meshes: if m.type == 'SURFACE_DEFORM' and m.target in all_meshes:
skip = True skip = True
break break
if not ob.visible_get():
skip = True
if skip: continue if skip: continue
mod = ob.modifiers.new(name=lattice_ob.name, type='LATTICE') mod = ob.modifiers.new(name=lattice_ob.name, type='LATTICE')