[Bf-blender-cvs] [4ced8900f5e] master: Fix T88983: GPencil toggle caps error in python enum
Antonio Vazquez
noreply at git.blender.org
Wed Jun 9 12:53:06 CEST 2021
Commit: 4ced8900f5e1221de051e1a4c98fbe580d55f9e7
Author: Antonio Vazquez
Date: Wed Jun 9 12:52:37 2021 +0200
Branches: master
https://developer.blender.org/rB4ced8900f5e1221de051e1a4c98fbe580d55f9e7
Fix T88983: GPencil toggle caps error in python enum
The value for default option was wrong in the python definition.
===================================================================
M source/blender/editors/gpencil/gpencil_edit.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_edit.c b/source/blender/editors/gpencil/gpencil_edit.c
index e01221db277..8370bf6593e 100644
--- a/source/blender/editors/gpencil/gpencil_edit.c
+++ b/source/blender/editors/gpencil/gpencil_edit.c
@@ -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},
};
More information about the Bf-blender-cvs
mailing list