[Bf-blender-cvs] [e164afe9b5f] master: GPencil: Change Arrange Strokes menu order
Antonio Vazquez
noreply at git.blender.org
Mon Sep 9 15:15:35 CEST 2019
Commit: e164afe9b5f98fe1ddb2ce063e1df9e9926cacfd
Author: Antonio Vazquez
Date: Mon Sep 9 13:17:57 2019 +0200
Branches: master
https://developer.blender.org/rBe164afe9b5f98fe1ddb2ce063e1df9e9926cacfd
GPencil: Change Arrange Strokes menu order
Before: Bring Forward, Send Backward, Bring to Front, Send to Back.
After: Bring to Front, Bring Forward, Send Backward, Send to Back.
===================================================================
M source/blender/editors/gpencil/gpencil_data.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_data.c b/source/blender/editors/gpencil/gpencil_data.c
index 4565625aefd..d72f61c64b1 100644
--- a/source/blender/editors/gpencil/gpencil_data.c
+++ b/source/blender/editors/gpencil/gpencil_data.c
@@ -1391,9 +1391,9 @@ static int gp_stroke_arrange_exec(bContext *C, wmOperator *op)
void GPENCIL_OT_stroke_arrange(wmOperatorType *ot)
{
static const EnumPropertyItem slot_move[] = {
+ {GP_STROKE_MOVE_TOP, "TOP", 0, "Bring to Front", ""},
{GP_STROKE_MOVE_UP, "UP", 0, "Bring Forward", ""},
{GP_STROKE_MOVE_DOWN, "DOWN", 0, "Send Backward", ""},
- {GP_STROKE_MOVE_TOP, "TOP", 0, "Bring to Front", ""},
{GP_STROKE_MOVE_BOTTOM, "BOTTOM", 0, "Send to Back", ""},
{0, NULL, 0, NULL, NULL}};
More information about the Bf-blender-cvs
mailing list