Curves: Hide snapping menu in curves sculpt mode
The menu/popover doesn't affect anything in the mode, and precision operations that would use snapping are meant for edit mode anyway.
This commit is contained in:
parent
35b4e3a350
commit
87ae10a050
|
@ -603,8 +603,8 @@ class VIEW3D_HT_header(Header):
|
|||
show_snap = True
|
||||
else:
|
||||
if (object_mode not in {
|
||||
'SCULPT', 'VERTEX_PAINT', 'WEIGHT_PAINT', 'TEXTURE_PAINT',
|
||||
'PAINT_GPENCIL', 'SCULPT_GPENCIL', 'WEIGHT_GPENCIL', 'VERTEX_GPENCIL'
|
||||
'SCULPT', 'SCULPT_CURVES', 'VERTEX_PAINT', 'WEIGHT_PAINT', 'TEXTURE_PAINT',
|
||||
'PAINT_GPENCIL', 'SCULPT_GPENCIL', 'WEIGHT_GPENCIL', 'VERTEX_GPENCIL',
|
||||
}) or has_pose_mode:
|
||||
show_snap = True
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue