Fix check that validates a selection index

This commit is contained in:
mano-wii
2019-08-15 17:08:38 -03:00
parent 50ad4428ac
commit 0f79c346c6

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