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