Depth picking needs to read the depth buffer after drawing since GPU_select_end runs in a different OpenGL context reading the depth buffer wasn't working. This caused the last object to be unelectable.
Depth picking needs to read the depth buffer after drawing since GPU_select_end runs in a different OpenGL context reading the depth buffer wasn't working. This caused the last object to be unelectable.