Fix T58898: Python error clicking in empty space in text edit mode.
This commit is contained in:
parent
7e722afc62
commit
5fdf739e7f
@ -219,6 +219,8 @@ class VIEW3D_OT_select_or_deselect_all(Operator):
|
||||
select_all = bpy.ops.mball.select_all
|
||||
elif active_object.type == 'ARMATURE':
|
||||
select_all = bpy.ops.armature.select_all
|
||||
else:
|
||||
return retval
|
||||
elif active_object.mode == 'POSE':
|
||||
select_all = bpy.ops.pose.select_all
|
||||
elif active_object.mode == 'PARTICLE_EDIT':
|
||||
|
Loading…
Reference in New Issue
Block a user