Fix T83047: Texture paint symmetry options not in topbar

The texture paint mode was accidentally removed from the list

Reviewed By: JacquesLucke

Maniphest Tasks: T83047

Differential Revision: https://developer.blender.org/D10216
This commit is contained in:
Pablo Dobarro 2021-01-26 19:41:17 +01:00
parent 8fcf3e96fe
commit 2a670a34be
Notes: blender-bot 2023-02-14 06:25:25 +01:00
Referenced by issue #83047, Lost symmetry tools in texture paint in tools bar
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ class VIEW3D_HT_tool_header(Header):
elif mode_string == 'POSE':
_row, sub = row_for_mirror()
sub.prop(context.object.pose, "use_mirror_x", text="X", toggle=True)
elif mode_string in {'EDIT_MESH', 'PAINT_WEIGHT', 'SCULPT', 'PAINT_VERTEX'}:
elif mode_string in {'EDIT_MESH', 'PAINT_WEIGHT', 'SCULPT', 'PAINT_VERTEX', 'PAINT_TEXTURE'}:
# Mesh Modes, Use Mesh Symmetry
row, sub = row_for_mirror()
sub.prop(context.object.data, "use_mirror_x", text="X", toggle=True)