Fix check that validates a selection index
This commit is contained in:
parent
50ad4428ac
commit
0f79c346c6
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue