GPencil: Sort Line Art modifier alphabetically

This commit is contained in:
Pablo Vazquez 2021-05-09 01:52:00 +02:00
parent 1325e95ad5
commit 3c7b80ae2c
Notes: blender-bot 2023-02-14 06:47:29 +01:00
Referenced by issue #88189, Adding any node after the Join Geometry node in a Geometry Node setup destroys the material information
1 changed files with 5 additions and 5 deletions

View File

@ -68,6 +68,11 @@ const EnumPropertyItem rna_enum_object_greasepencil_modifier_type_items[] = {
ICON_MOD_BUILD,
"Build",
"Create duplication of strokes"},
{eGpencilModifierType_Lineart,
"GP_LINEART",
ICON_MOD_EDGESPLIT, /* TODO: Use a proper icon. */
"Line Art",
"Generate line art strokes from selected source"},
{eGpencilModifierType_Mirror,
"GP_MIRROR",
ICON_MOD_MIRROR,
@ -88,11 +93,6 @@ const EnumPropertyItem rna_enum_object_greasepencil_modifier_type_items[] = {
ICON_MOD_SUBSURF,
"Subdivide",
"Subdivide stroke adding more control points"},
{eGpencilModifierType_Lineart,
"GP_LINEART",
ICON_MOD_EDGESPLIT, /* TODO: Use a proper icon. */
"Line Art",
"Generate line art strokes from selected source"},
{0, "", 0, N_("Deform"), ""},
{eGpencilModifierType_Armature,
"GP_ARMATURE",