Fix T88983: GPencil toggle caps error in python enum

The value for default option was wrong in the python definition.
This commit is contained in:
Antonio Vazquez 2021-06-09 12:52:37 +02:00
parent f087a225dc
commit 4ced8900f5
Notes: blender-bot 2023-02-14 08:35:51 +01:00
Referenced by issue #88983, Grease Pencil - Toggle Caps, same python command for Both and Default
1 changed files with 1 additions and 1 deletions

View File

@ -3443,7 +3443,7 @@ void GPENCIL_OT_stroke_caps_set(wmOperatorType *ot)
{GP_STROKE_CAPS_TOGGLE_BOTH, "TOGGLE", 0, "Both", ""},
{GP_STROKE_CAPS_TOGGLE_START, "START", 0, "Start", ""},
{GP_STROKE_CAPS_TOGGLE_END, "END", 0, "End", ""},
{GP_STROKE_CAPS_TOGGLE_DEFAULT, "TOGGLE", 0, "Default", "Set as default rounded"},
{GP_STROKE_CAPS_TOGGLE_DEFAULT, "DEFAULT", 0, "Default", "Set as default rounded"},
{0, NULL, 0, NULL, NULL},
};