Fix check that validates a selection index

This commit is contained in:
Germano Cavalcante 2019-08-15 17:08:38 -03:00
parent 50ad4428ac
commit 0f79c346c6
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}