mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T83398: Fade inactive geometry overlay option not visible depending on the mode
This option should always be available. Even if it does not affect the current object depending on its mode, it affects the rest of the geometry of the scene. The rest of the options also work this way. For example, a grease pencil object does not have face orientation, but the ovelay option is still there for the rest of the scene. Reviewed By: JulienKaspar, HooglyBoogly Maniphest Tasks: T83398 Differential Revision: https://developer.blender.org/D10215
This commit is contained in:
parent
b0271e4f05
commit
ee0ec0f2af
1 changed files with 1 additions and 4 deletions
|
|
@ -6191,10 +6191,7 @@ class VIEW3D_PT_overlay_geometry(Panel):
|
|||
sub.prop(overlay, "wireframe_opacity", text="Opacity")
|
||||
|
||||
row = col.row(align=True)
|
||||
if context.mode not in {
|
||||
'EDIT_ARMATURE', 'POSE', 'OBJECT',
|
||||
'PAINT_GPENCIL', 'VERTEX_GPENCIL', 'WEIGHT_GPENCIL', 'SCULPT_GPENCIL', 'EDIT_GPENCIL',
|
||||
}:
|
||||
if context.mode != 'OBJECT':
|
||||
row.prop(overlay, "show_fade_inactive", text="")
|
||||
sub = row.row()
|
||||
sub.active = overlay.show_fade_inactive
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue