diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-12-07 01:41:49 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-12-07 01:44:21 +0300 |
commit | 5fdf739e7f2076bdb00f67fabfa1e1ff49c5db70 (patch) | |
tree | 083271fffdd072938b50750f087f4e4b872df602 /release | |
parent | 7e722afc6202fbcbeddd76bafec76c5c0f6195bf (diff) |
Fix T58898: Python error clicking in empty space in text edit mode.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_operators/view3d.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_operators/view3d.py b/release/scripts/startup/bl_operators/view3d.py index b0c0c2a9299..58ddc50c808 100644 --- a/release/scripts/startup/bl_operators/view3d.py +++ b/release/scripts/startup/bl_operators/view3d.py @@ -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': |