From 9a6dc39d4b853594dbce925b9495c9042af89211 Mon Sep 17 00:00:00 2001 From: Pratik Borhade Date: Tue, 11 Oct 2022 02:48:33 -0700 Subject: Sculpt: Fix T101694: Change operator for unhide face sets In 22c3db72ca2f `SHOW_ALL` has been removed from `face_set_change_visibility`. Instead `SCULPT_OT_reveal_all` is now used for unhiding all face sets. Reviewed By: Joseph Eagar & Julian Kaspar Differential Revision: https://developer.blender.org/D16199 Ref D16199 --- release/scripts/startup/bl_ui/space_view3d.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index ada2993a16f..e8c0d4586bd 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -3356,8 +3356,7 @@ class VIEW3D_MT_face_sets(Menu): op = layout.operator("sculpt.face_set_change_visibility", text='Invert Visible Face Sets') op.mode = 'INVERT' - op = layout.operator("sculpt.face_set_change_visibility", text='Show All Face Sets') - op.mode = 'SHOW_ALL' + op = layout.operator("sculpt.reveal_all", text='Show All Face Sets') layout.separator() @@ -5518,9 +5517,7 @@ class VIEW3D_MT_sculpt_face_sets_edit_pie(Menu): op = pie.operator("sculpt.face_set_change_visibility", text='Invert Visible') op.mode = 'INVERT' - op = pie.operator("sculpt.face_set_change_visibility", text='Show All') - op.mode = 'SHOW_ALL' - + op = pie.operator("sculpt.reveal_all", text='Show All') class VIEW3D_MT_wpaint_vgroup_lock_pie(Menu): bl_label = "Vertex Group Locks" -- cgit v1.2.3