Fix T58898: Python error clicking in empty space in text edit mode.
This commit is contained in:
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
|
@ -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