Fix #107411: Non-visible objects in the viewport occlude selection #107449
No reviewers
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#107449
Loading…
Reference in New Issue
No description provided.
Delete Branch "guishe:local-view-selection"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When using edit mode with a mesh, if you have 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,
non-visible objects can occlude the selection.
This patch discards objects that are not visible in the viewport so they do not
occlude the selection anymore.
a6ef7f443a
to710e4a228a
Fix #107411: Selection occlusion in local viewto Fix #107411: Selection occlusion in local view view with retopology overlayFix #107411: Selection occlusion in local view view with retopology overlayto Fix #107411: Selection occlusion in local view with retopology overlayI'd do a slightly different check:
Perhaps before the other checks, to be consistent with other code in the same file.
And then I'd rename this to something like "Objects hidden by local mode or collection occlude selection", because it's not just local mode that's fixed.
710e4a228a
tob9f9fc08b4
b9f9fc08b4
to44dfb9666e
Fix #107411: Selection occlusion in local view with retopology overlayto Fix #107411: Non-visible objects in the viewport affect selection collusionFix #107411: Non-visible objects in the viewport affect selection collusionto Fix #107411: Non-visible objects in the viewport occlude selection@fclem @Jeroen-Bakker Hey, can you please take a look at this PR? Thanks in advance.
We have two PRs to fix the same issue #107833. Note that this should be solved in the engines and not in the draw manager itself. the draw manager should not have this logic if not needed.
This same check is done in 3 other depsgraph iterators in this same file, so I think it makes sense here.
But moving it to the select engine cache populate function is fine too I suppose.
Like so:
44dfb9666e
to93f43b5172
93f43b5172
to75d72daba3
Ah yes you're right. Sorry about that. Do you mind reverting it to the previous version. Than I can accept it
75d72daba3
toe7c4544c84
e7c4544c84
to0d3914f646
@Jeroen-Bakker He's reverted it like you asked 🙂
I manually commited this to blender-v3.6-release branch
e83a2386b5
Pull request closed