forked from bartvdbraak/blender
rigify panel, ignore removing a bones type when its not found
This commit is contained in:
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'}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user