diff options
author | mano-wii <germano.costa@ig.com.br> | 2019-08-15 23:08:38 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2019-08-15 23:08:38 +0300 |
commit | 0f79c346c63f21f246ab636d74eea9b7aa874a33 (patch) | |
tree | df7af1b2adbd262a3896bf79604d304aeb0176b8 /source | |
parent | 50ad4428ac76705dc28e4cd85272a47118b6a654 (diff) |
Fix check that validates a selection index
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/draw/intern/draw_select_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_select_buffer.c b/source/blender/draw/intern/draw_select_buffer.c index 06bfd7a0d52..974ea22ccea 100644 --- a/source/blender/draw/intern/draw_select_buffer.c +++ b/source/blender/draw/intern/draw_select_buffer.c @@ -468,7 +468,7 @@ bool DRW_select_buffer_elem_get(const uint sel_id, } } - if (base_index == select_ctx->objects_len) { + if (base_index == select_ctx->objects_drawn_len) { return false; } |