Fix T58898: Python error clicking in empty space in text edit mode.

This commit is contained in:
Brecht Van Lommel 2018-12-06 23:41:49 +01:00
parent 7e722afc62
commit 5fdf739e7f
Notes: blender-bot 2023-02-14 04:39:18 +01:00
Referenced by issue #58898, left clicking in edit mode for text
1 changed files with 2 additions and 0 deletions

View File

@ -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':