Add Lattice Magic
to Addons
#48
@ -291,7 +291,7 @@ class TWEAKLAT_OT_Delete(bpy.types.Operator):
|
|||||||
@classmethod
|
@classmethod
|
||||||
def poll(cls, context):
|
def poll(cls, context):
|
||||||
ob = context.object
|
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):
|
def execute(self, context):
|
||||||
hook = context.object
|
hook = context.object
|
||||||
|
Loading…
Reference in New Issue
Block a user