Fix #107411: Non-visible objects in the viewport occlude selection #107449

Closed
Guillermo Venegas wants to merge 1 commits from guishe:local-view-selection into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

1 Commits

Author SHA1 Message Date
Guillermo Venegas 0d3914f646 Fix #107411: Non-visible objects in the viewport affect selection collusion
When using edit mode with a mesh, if you have the retopology overlay active,
the selection of vertices, edges, or faces is occluded by the other objects.
However, if local view is on or collections with objects are hidden,
these non-visible objects can occlude the selection.

This patch discards objects that are not visible in the viewport so they
do not occlude selection.
2023-05-16 08:53:53 -06:00