rigify panel, ignore removing a bones type when its not found

This commit is contained in:
Campbell Barton 2010-02-15 13:30:26 +00:00
parent 0fd7fb50d9
commit 643cf58688

@ -309,7 +309,10 @@ class ActiveClear(bpy.types.Operator):
def execute(self, context):
scene = context.scene
del context.active_pose_bone["type"]
try:
del context.active_pose_bone["type"]
except:
return {'CANCELLED'}
return {'FINISHED'}