diff options
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_view.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/view3d_view.c b/source/blender/editors/space_view3d/view3d_view.c index 0985d65d5f8..0f0a710a82a 100644 --- a/source/blender/editors/space_view3d/view3d_view.c +++ b/source/blender/editors/space_view3d/view3d_view.c @@ -1019,10 +1019,10 @@ int view3d_opengl_select(ViewContext *vc, } if (is_pick_select) { - if (is_pick_select && select_mode == VIEW3D_SELECT_PICK_NEAREST) { + if (select_mode == VIEW3D_SELECT_PICK_NEAREST) { gpu_select_mode = GPU_SELECT_PICK_NEAREST; } - else if (is_pick_select && select_mode == VIEW3D_SELECT_PICK_ALL) { + else if (select_mode == VIEW3D_SELECT_PICK_ALL) { gpu_select_mode = GPU_SELECT_PICK_ALL; } else { |