UI: Show Passepartout When All Overlays Off
Bring back old behavior where passepartout is shown when all overlays are disabled. Move the passepartout option to the sidebar. Pull Request: https://projects.blender.org/blender/blender/pulls/122577
This commit is contained in:
committed by
Harley Acheson
parent
059c74dc98
commit
10071caea8
@@ -6584,6 +6584,10 @@ class VIEW3D_PT_view3d_properties(Panel):
|
||||
sub.enabled = view.use_local_camera
|
||||
sub.prop(view, "camera", text="")
|
||||
|
||||
sub = col.row()
|
||||
sub.active = view.region_3d.view_perspective == 'CAMERA'
|
||||
sub.prop(view.overlay, "show_camera_passepartout", text="Passepartout")
|
||||
|
||||
layout.separator()
|
||||
|
||||
col = layout.column(align=True)
|
||||
@@ -7260,8 +7264,6 @@ class VIEW3D_PT_overlay_guides(Panel):
|
||||
sub = split.column()
|
||||
sub.prop(overlay, "show_cursor", text="3D Cursor")
|
||||
sub.prop(overlay, "show_annotation", text="Annotations")
|
||||
if view.region_3d.view_perspective == 'CAMERA':
|
||||
sub.prop(overlay, "show_camera_passepartout", text="Passepartout")
|
||||
|
||||
if shading.type == 'MATERIAL':
|
||||
row = col.row()
|
||||
|
||||
Reference in New Issue
Block a user