Fix #142285: 3D cursor placement ignores unselectable objects
This was caused by 3dfec1ff73
which introduce the new behavior. This was to fix workflows
using a lot of semi-transparent objects which made nagivation
difficult.
This patch first roll back to the previous behavior: The
unselectable object will affect depth-aware operators.
This patch introduces a new visibility property to remove
the influence of objects in all depth picking operations
and selection operations. However the object is still
selectable through non-drawing selection operators
(e.g. select by material) and through the outliner.
This is to adress the aforementionned navigation issues.
Pull Request: https://projects.blender.org/blender/blender/pulls/146706
This commit is contained in:
committed by
Clément Foucault
parent
e2dc63c5de
commit
6b0f57facf
@@ -415,7 +415,10 @@ class OBJECT_PT_visibility(ObjectButtonsPanel, Panel):
|
||||
layout = self.layout
|
||||
ob = context.object
|
||||
|
||||
layout.prop(ob, "hide_select", text="Selectable", toggle=False, invert_checkbox=True)
|
||||
col = layout.column()
|
||||
col.prop(ob, "hide_select", text="Selectable", toggle=False, invert_checkbox=True)
|
||||
col.prop(ob, "hide_surface_pick", text="Surface Picking", toggle=False, invert_checkbox=True)
|
||||
layout.separator()
|
||||
|
||||
col = layout.column(heading="Show In")
|
||||
col.prop(ob, "hide_viewport", text="Viewports", toggle=False, invert_checkbox=True)
|
||||
|
||||
Reference in New Issue
Block a user