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

View File

@ -291,7 +291,7 @@ class TWEAKLAT_OT_Delete(bpy.types.Operator):
@classmethod
def poll(cls, context):
ob = context.object
return ob.type=='EMPTY' and 'Tweak Lattice' in ob
return ob and ob.type=='EMPTY' and 'Tweak Lattice' in ob
def execute(self, context):
hook = context.object