Sculpt: Fix T101694: Change operator for unhide face sets
In 22c3db72ca
`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
This commit is contained in:
parent
be27159527
commit
9a6dc39d4b
Notes:
blender-bot
2023-02-14 06:21:59 +01:00
Referenced by issue #101694, Regression: Sculpting Faceset menu: SHOW_ALL not found error
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue