GPencil: Swap positions of Pie menu options for Vertex Paint and Weight Paint

This keep the same logic used with meshes because now the Weight Paint and Vertex Paint are not in the same position for grease pencil.
This commit is contained in:
Antonio Vazquez 2021-01-26 15:28:17 +01:00
parent c51a5b204c
commit 20d0bb43af
1 changed files with 5 additions and 5 deletions

View File

@ -85,16 +85,16 @@ const EnumPropertyItem rna_enum_object_mode_items[] = {
ICON_GREASEPENCIL,
"Draw",
"Paint Grease Pencil Strokes"},
{OB_MODE_VERTEX_GPENCIL,
"VERTEX_GPENCIL",
ICON_VPAINT_HLT,
"Vertex Paint",
"Grease Pencil Vertex Paint Strokes"},
{OB_MODE_WEIGHT_GPENCIL,
"WEIGHT_GPENCIL",
ICON_WPAINT_HLT,
"Weight Paint",
"Grease Pencil Weight Paint Strokes"},
{OB_MODE_VERTEX_GPENCIL,
"VERTEX_GPENCIL",
ICON_VPAINT_HLT,
"Vertex Paint",
"Grease Pencil Vertex Paint Strokes"},
{0, NULL, 0, NULL, NULL},
};